To test with fake daikin wifi (minimal support) run "flask --app=server_test run"
To run gateway run "python3 main.py"
Send with mqtt :
daikin/192.168.1.150/control -->
{"key":"pow","value":"1"}
{"key":"pow","value":"0"}
{"key":"f_rate","value":"B"}
{"key":"f_rate","value":"A"}
{"key":"f_rate","value":"3"}
{"key":"f_rate","value":"7"}
daikin/192.168.1.150/powerful --> {"status":1,"duration":300} daikin/192.168.1.150/powerful --> {"status":0}
To test in local we can use : mosquitto_pub -h localhost -t daikin/192.168.1.150/control -m "{"key":"f_rate","value":"7"}"