you would have all readings centrally under FHEM in view and could switch further events with status "finisch". e.g. switch off a Sonow POW (tasmato) and thus switch off the printer.
I have a running Home automation with OpenHab and using mosquitto to communicate between the Raspberrys and devices, i.e. to get energy consumption from smart sockets.
So I only want to send an "event" from the Repetier-Server (when print starts) via extcommands.xml to my existing mqqt broker, what package(s) have I to install?
I use an raspberry pi running repetier server and another one running openhab2 with mosquitto installed. Can anyone describe how to run this python-script on which of the both raspberries?
Or ist ther another way using the API to get state of printers?
Comments
Viele Grüße
Florian
File "repeqtt.py", line 94, in <module>
queryRepetier()
File "repeqtt.py", line 67, in queryRepetier
serverKey = srvdata['apikey']
KeyError: 'apikey'
I already tried to use add another user with all rights and easy non special characters password.
So I only want to send an "event" from the Repetier-Server (when print starts) via extcommands.xml to my existing mqqt broker, what package(s) have I to install?
Any hints? Thx!
i`m saerching also an solution for this.
I use an raspberry pi running repetier server and another one running openhab2 with mosquitto installed.
Can anyone describe how to run this python-script on which of the both raspberries?
Or ist ther another way using the API to get state of printers?
Regards
Jürgen