No. Delete the subchannel (it is supposed to look just like Glyn’s example!!!
Brian,
I did do that initially. When I remove the subchannel, there is no connection to the MQTT_sub it only connects to MQTT
2024-11-06 09:45:23,363 INFO MQTT Connecting to MQTT Server
2024-11-06 09:45:23,463 DEBUG emoncmsorg Buffer size: 1
2024-11-06 09:45:23,464 INFO MQTT connection status: Connection successful
2024-11-06 09:45:23,465 DEBUG MQTT CONACK => Return code: 0
2024-11-06 09:45:23,566 INFO MQTT on_subscribe
2024-11-06 09:45:37,376 INFO SPI Packet received 12 bytes
2024-11-06 09:45:37,376 DEBUG SPI 5 NEW FRAME :
The only way I can get “connection successful” is to have both a pub and sub channel.
2024-11-04 08:55:37,313 INFO MQTT Connecting to MQTT Server
2024-11-04 08:55:37,313 INFO MQTT_sub Connecting to MQTT Server
2024-11-04 08:55:37,413 DEBUG emoncmsorg Buffer size: 1
2024-11-04 08:55:37,415 INFO MQTT connection status: Connection successful
2024-11-04 08:55:37,415 DEBUG MQTT CONACK => Return code: 0
2024-11-04 08:55:37,416 INFO MQTT_sub connection status: Connection successful
2024-11-04 08:55:37,416 DEBUG MQTT_sub CONACK => Return code: 0
@glyn.hudson - this is your development of the interfacer, can you have a look,please?
@glyn.hudson Can you assist? I am happy to grant remote access.