Search found 5 matches

by Gaijin66
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

Re: Light does not switch on with MQTT

Ok. This is helpful. From now on i use the code you provided.

I can consider the matter solved. This topic can be closed.
by Gaijin66
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 ...
by Gaijin66
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&param=switchlight&idx=3&switchcmd=Off"

It says:
{
"status" : "OK",
"title" : "SwitchLight"
}

The actual light goes on.
by Gaijin66
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.
by Gaijin66
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 ...