Saturday 23 September 2017

Windows 10 Mqtt - New Features and source

After a few good days of working on this project I've made some big changes and released the full source. The source code are available at https://github.com/KjetilSv/Win10As/src and the last installer download at https://github.com/KjetilSv/Win10As/raw/master/installer.zip

The documentation at https://github.com/KjetilSv/Win10As will continue to work on this and add real life example and uses.

Some of the new features since the last blog post:

App/running
If you send a message like mosquitto_pub -t KJETILPC/app/running -m firefox it will reply with "KJETILPC/app/running/firefox -m 1" if running and -m 0 if it's not running.
Starting a application I've desired to add as a custom command instead of making a "open application" listener because of potential security problems.


Disk and battery sensors








Now it will be easy to monitor a Windows Nas :)

Selection of TTS Speaker







Not the most important thing but i would like a woman talking and not a man so I implemented a chooser instead of just using the default. Speaker as part of the MQTT string may be implemented in later versions.

Monitor

Instead of computer power option, I've tested some ways to turn the monitor on and off. But haven't been able to find a solution to work on all computer, some work and some don't.
If you want to test just send a KJETILPC/monitor -m 0 to try to turn it off. I will continue to work on some better code.

I will continue to work on most of the features so don't forget to follow me on github :)