Hi,
I am trying to post a json massage to my domoticz system. But i can’t figureout which library i van use in combination with micropython.
Do you have a Example?
3 Answers
How do you want to interact with your Domoticz system? Using HTTP POST requests?
At the moment, I don’t have any tutorial on that exact subject.
However, if you follow the example provided in the MicroPython eBook, project “Send Sensor Readings via Email (IFTTT)”, it uses an exact HTTP POST with MicroPython. Instead of posting a value to IFTTT, you can post it to your Domoticz IP address using its API.
Wouldn’t it be easier and more reliable to send data to Domoticz using MQTT?