Ok. This is helpful. From now on i use the code you provided.
I can consider the matter solved. This topic can be closed.
Search found 5 matches
- Friday 21 December 2018 17:55
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Light does not switch on with MQTT
- Replies: 9
- Views: 1914
- Thursday 20 December 2018 23:28
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Light does not switch on with MQTT
- Replies: 9
- Views: 1914
Re: Light does not switch on with MQTT
No problem, i also made that mistake :oops:
But that command really works. The actual light goes on. Thanks
Why did
mosquitto_pub -h localhost -m '{ "idx" : 3, "nvalue" : 1 }' -t 'domoticz/in'
turned the light only on the dashboard on?
@Kevin:
The single quotes was the mistake, but thanks for ...
But that command really works. The actual light goes on. Thanks
Why did
mosquitto_pub -h localhost -m '{ "idx" : 3, "nvalue" : 1 }' -t 'domoticz/in'
turned the light only on the dashboard on?
@Kevin:
The single quotes was the mistake, but thanks for ...
- Thursday 20 December 2018 22:05
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Light does not switch on with MQTT
- Replies: 9
- Views: 1914
Re: Light does not switch on with MQTT
It says:
Error: Unknown option 'switchlight,'.
When I give the command:
curl "http://192.168.0.5:8080/json.htm?type=command¶m=switchlight&idx=3&switchcmd=Off"
It says:
{
"status" : "OK",
"title" : "SwitchLight"
}
The actual light goes on.
Error: Unknown option 'switchlight,'.
When I give the command:
curl "http://192.168.0.5:8080/json.htm?type=command¶m=switchlight&idx=3&switchcmd=Off"
It says:
{
"status" : "OK",
"title" : "SwitchLight"
}
The actual light goes on.
- Thursday 20 December 2018 12:40
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Light does not switch on with MQTT
- Replies: 9
- Views: 1914
Re: Light does not switch on with MQTT
Hello waaren,
Thanks for the reply.
I did not try that, but i will. I will come back on that.
Thanks for the reply.
I did not try that, but i will. I will come back on that.
- Thursday 20 December 2018 0:55
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Light does not switch on with MQTT
- Replies: 9
- Views: 1914
Light does not switch on with MQTT
Hello everyone,
I have a Raspberry Pi 3B+. There is a RFXtrx433 connected on the USB port. I have led lights plugged in a KaKu / CoCo switch. It is programmed to switch on at sunset an switch off at 00:00. That works perfectly. Switching on and off by clicking on it also works good. When i give the ...
I have a Raspberry Pi 3B+. There is a RFXtrx433 connected on the USB port. I have led lights plugged in a KaKu / CoCo switch. It is programmed to switch on at sunset an switch off at 00:00. That works perfectly. Switching on and off by clicking on it also works good. When i give the ...