Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KCS firmware - MQTT LWT?
#33
(11-05-2024, 12:00 PM)1erikwout Wrote:
(11-05-2024, 12:17 AM)admin Wrote: don't send this command:
{"input1":{"value":false},"input2":{"value":false},"input3":{"value":false},"input4":{"value":false},"output1":{"value":true},"output2":{"value":false},"output3":{"value":false},"output4":{"value":false},"adc1":{"value":0},"adc2":{"value":0},"adc3":{"value":0},"adc4":{"value":0},"dac1":{"value":0},"dac2":{"value":0},"sensor1":{"temperature":-100.0,"humidity":-100.0}} 

i have said, please send command according to our protocol. we don't have this protocol. input for READ, NOT for WRITE command.
I have done some testing and please see my findings


("dac1":{"value":50})    < This works, confirmed !
Confirmed that this works, after this I get a State message back with all values...

{"dac1":{"value":150}}    This variant also works and gives a state message back.

dac1:{"value":250}        This variant also works and gives a state message back.

The Single line  output1:{"value":true} works but does NOT give back the STATE


Two output's in one go Works but also no STATE message is produced.
output1:{"value":true}
output2:{"value":false}


so i was thinking, whats's the different with my first test
I was able to reproduce
If you go on the TAB Monitor and change somthing there on the channels, the MQTT set command stops working.

I was first playing with the sliders there before i started testing the MQTT bit's

hope this helps you to also reproduce it..

Erik


@admin
did you manage to reproduce?
thanks
Erik
Reply


Messages In This Thread
KCS firmware - MQTT LWT? - by Tarmas - 10-27-2023, 06:05 PM
RE: KCS firmware - MQTT LWT? - by admin - 10-28-2023, 12:27 AM
RE: KCS firmware - MQTT LWT? - by Tarmas - 11-07-2023, 07:06 PM
RE: KCS firmware - MQTT LWT? - by admin - 11-07-2023, 10:37 PM
RE: KCS firmware - MQTT LWT? - by Tarmas - 11-08-2023, 04:39 AM
RE: KCS firmware - MQTT LWT? - by admin - 11-08-2023, 06:30 AM
RE: KCS firmware - MQTT LWT? - by Fip - 01-08-2024, 08:42 PM
RE: KCS firmware - MQTT LWT? - by admin - 01-09-2024, 12:34 AM
RE: KCS firmware - MQTT LWT? - by DieterN - 03-11-2024, 07:30 AM
RE: KCS firmware - MQTT LWT? - by admin - 03-11-2024, 08:17 AM
RE: KCS firmware - MQTT LWT? - by DieterN - 03-11-2024, 09:10 AM
RE: KCS firmware - MQTT LWT? - by admin - 03-11-2024, 10:05 AM
RE: KCS firmware - MQTT LWT? - by DieterN - 03-11-2024, 11:16 AM
RE: KCS firmware - MQTT LWT? - by admin - 03-12-2024, 02:31 AM
RE: KCS firmware - MQTT LWT? - by admin - 03-12-2024, 02:48 AM
RE: KCS firmware - MQTT LWT? - by DieterN - 03-12-2024, 07:37 AM
RE: KCS firmware - MQTT LWT? - by admin - 03-12-2024, 11:45 AM
RE: KCS firmware - MQTT LWT? - by DieterN - 03-13-2024, 08:17 AM
RE: KCS firmware - MQTT LWT? - by lpb19 - 10-11-2024, 10:48 PM
RE: KCS firmware - MQTT LWT? - by erikwout - 11-03-2024, 12:02 AM
RE: KCS firmware - MQTT LWT? - by admin - 11-03-2024, 01:07 AM
RE: KCS firmware - MQTT LWT? - by erikwout - 11-03-2024, 08:13 AM
RE: KCS firmware - MQTT LWT? - by admin - 11-03-2024, 08:21 AM
RE: KCS firmware - MQTT LWT? - by erikwout - 11-03-2024, 09:34 AM
RE: KCS firmware - MQTT LWT? - by Witwicki - 11-03-2024, 10:34 AM
RE: KCS firmware - MQTT LWT? - by Witwicki - 11-03-2024, 01:22 PM
RE: KCS firmware - MQTT LWT? - by admin - 11-04-2024, 10:29 AM
RE: KCS firmware - MQTT LWT? - by Witwicki - 11-04-2024, 07:53 PM
RE: KCS firmware - MQTT LWT? - by admin - 11-05-2024, 12:17 AM
RE: KCS firmware - MQTT LWT? - by Witwicki - 11-05-2024, 07:48 AM
RE: KCS firmware - MQTT LWT? - by erikwout - 11-05-2024, 12:00 PM
RE: KCS firmware - MQTT LWT? - by erikwout - 11-06-2024, 09:27 PM
RE: KCS firmware - MQTT LWT? - by admin - 11-06-2024, 11:32 PM
RE: KCS firmware - MQTT LWT? - by admin - 11-09-2024, 12:02 PM
RE: KCS firmware - MQTT LWT? - by admin - 11-11-2024, 11:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)