25.12.2020, 16:14
Sorry, but I'm not able to use the script.
I changed the broker address with 127.0.0.1 (local borker) and modified the mqtt_to_object/object_to_mqtt tables in order to do a simple ON /OFF of an mqtt object (shelly) as example.
My tables has:
mqtt_to_object = {
['shellies/shellyplug-s-??????/relay/0'] = '0/0/12'
}
where 0/0/12 is the On/Off knx status
and
object_to_mqtt = {
['0/0/11'] = 'shellies/shellyplug-s-??????/relay/0/command'
}
where 0/0/11 is the On/Off knx command
Shelly want on and off command, not 0 or 1. I used custom value to modify that, but doesn't work
Here is my log:
* arg: 1
* string: mqtt connect status
* arg: 2
* bool: true
* arg: 3
* number: 0
* arg: 4
* string: connection accepted
* arg: 5
* number: 0
* arg: 6
* nil
Thank you
I changed the broker address with 127.0.0.1 (local borker) and modified the mqtt_to_object/object_to_mqtt tables in order to do a simple ON /OFF of an mqtt object (shelly) as example.
My tables has:
mqtt_to_object = {
['shellies/shellyplug-s-??????/relay/0'] = '0/0/12'
}
where 0/0/12 is the On/Off knx status
and
object_to_mqtt = {
['0/0/11'] = 'shellies/shellyplug-s-??????/relay/0/command'
}
where 0/0/11 is the On/Off knx command
Shelly want on and off command, not 0 or 1. I used custom value to modify that, but doesn't work
Here is my log:
* arg: 1
* string: mqtt connect status
* arg: 2
* bool: true
* arg: 3
* number: 0
* arg: 4
* string: connection accepted
* arg: 5
* number: 0
* arg: 6
* nil
Thank you