Code : Tout sélectionner
"values": {"PRESS": "100"}
Code : Tout sélectionner
"values": {"PRESS": "100"}
Code : Tout sélectionner
2023-01-16 17:14:46.170 Status: MqttMapper: Started.
2023-01-16 17:14:46.171 Status: MqttMapper: Entering work loop.
2023-01-16 17:14:46.174 Status: EventSystem: reset all events...
2023-01-16 17:14:46.179 Status: EventSystem: reset all device statuses...
2023-01-16 17:14:46.187 Status: NotificationSystem: thread started...
2023-01-16 17:14:46.312 Status: Python EventSystem: Initializing event module.
2023-01-16 17:14:46.318 Status: EventSystem: Started
2023-01-16 17:14:46.323 Status: EventSystem: Queue thread started...
2023-01-16 17:14:46.519 Status: MqttMapper: Initialized version 1.0.7, author 'Flying Domotic'
2023-01-16 17:14:46.669 Status: PluginSystem: 1 plugins started.
2023-01-16 17:14:46.962 Error: MqttMapper: Call to function 'onMessage' failed, exception details:
2023-01-16 17:14:46.963 Error: MqttMapper: Traceback (most recent call last):
2023-01-16 17:14:46.963 Error: MqttMapper: File "/root/domoticz/plugins/MqttMapper/plugin.py", line 482, in onMessage
2023-01-16 17:14:46.963 Error: MqttMapper: _plugin.onMessage(Connection, Data)
2023-01-16 17:14:46.963 Error: MqttMapper: File "/root/domoticz/plugins/MqttMapper/plugin.py", line 275, in onMessage
2023-01-16 17:14:46.963 Error: MqttMapper: self.mqttClient.onMessage(Connection, Data)
2023-01-16 17:14:46.963 Error: MqttMapper: File "/root/domoticz/plugins/MqttMapper/plugin.py", line 140, in onMessage
2023-01-16 17:14:46.963 Error: MqttMapper: self.mqttPublishCb(topic, Data['Payload'])
2023-01-16 17:14:46.963 Error: MqttMapper: File "/root/domoticz/plugins/MqttMapper/plugin.py", line 329, in onMQTTPublish
2023-01-16 17:14:46.963 Error: MqttMapper: itemValue = self.getPathValue(message, item, '/', None) # Extract value from message
2023-01-16 17:14:46.963 Error: MqttMapper: File "/root/domoticz/plugins/MqttMapper/plugin.py", line 169, in getPathValue
2023-01-16 17:14:46.963 Error: MqttMapper: if pathElement not in element:
2023-01-16 17:14:46.963 Error: MqttMapper: TypeError: argument of type 'float' is not iterable
2023-01-16 17:15:46.060 MqttMapper: Heartbeating...
2023-01-16 17:15:46.061 MqttMapper: Sending 2 bytes of data
2023-01-16 17:15:46.061 MqttMapper: c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �
2023-01-16 17:15:46.111 MqttMapper: Received 2 bytes of data
2023-01-16 17:15:46.111 MqttMapper: d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю
2023-01-16 17:16:46.065 MqttMapper: Heartbeating...
Code : Tout sélectionner
{
"Car Temperature Out": {
"topic": "teslamate/cars/1/outside_temp",
"type": "80",
"subtype": "5",
"switchtype": "0",
"mapping": {"item": "temperature"}
}
}
Code : Tout sélectionner
{
"Car Temperature Out": {
"topic": "teslamate/cars/1/outside_temp",
"type": "80",
"subtype": "5",
"switchtype": "0",
"mapping": {"item": ""}
}
}
Code : Tout sélectionner
"KC868_AI/AABBCC112233/STATE"
Code : Tout sélectionner
{"input1":{"value":false},"input2":{"value":false},"input3":{"value":false},"input4":{"value":false},"input5":{"value":false},"input6":{"value":false},"input7":{"value":false},"input8":{"value":false},"input9":{"value":false},"input10":{"value":false},"input11":{"value":false},"input12":{"value":false},"input13":{"value":false},"input14":{"value":false},...."input48":{"value":false}}
Code : Tout sélectionner
"input<N>":{"value":true}
Code : Tout sélectionner
"input<N>":{"value":false}
Code : Tout sélectionner
"mvtdec1": {
"topic": "KC868_AI/4022D8E06EE0/STATE",
"type": "244", "subtype": "73", "switchtype": "8",
"mapping": {"item": "input1", "default": "0", "values": {"value": "true"}: "1"}}
}
Code : Tout sélectionner
"mvtdec1": {
"topic": "KC868_AI/4022D8E06EE0/STATE",
"type": "244", "subtype": "73", "switchtype": "8",
"mapping": {"item": "input1/value", "default": "0", "values": {"true": "1"}}
}
Code : Tout sélectionner
"mvtdec1": {
"topic": "KC868_AI/4022D8E06EE0/STATE",
"type": "244", "subtype": "73", "switchtype": "8",
"mapping": {"item": "input1", "default": "0", "values": {"{'value': True}": "1"}}
}
Code : Tout sélectionner
{
"mvtdec1": {
"topic": "KC868_AI/4022D8E06EE0/STATE",
"type": "244", "subtype": "73", "switchtype": "8",
"mapping": {"item": "input1", "default": "0", "values": {"{'value': True}": "1"}}
},
"mvtdec2": {
"topic": "KC868_AI/4022D8E06EE0/STATE",
"type": "244", "subtype": "73", "switchtype": "8",
"mapping": {"item": "input2", "default": "0", "values": {"{'value': True}": "1"}}
}
}