New wifi relay unit arrived but cannot control with emoncms

Tags: #<Tag:0x00007f1fe42db260>

(Alan Sullivan) #1

So the wifi relay works all ok on xxx.16.0.136 and my emoncms pi is on xxx.16.0.135 running emoncms.

I have the latest SD build with all updates and standard passwords, but cannot seem to control relay with publish to mqtt based on an input and I don’t see it or the temp sensor in emoncms.

Despite searching all the forums I still cannot get it working and some simple help sheets would be great.

Error log
2016-10-12 20:21:44.456|WARN|phpmqtt_input.php|Starting MQTT Input script
2016-10-12 20:21:45.681|WARN|phpmqtt_input.php|Subscribing to: emon/#
2016-10-12 20:21:45.682|WARN|phpmqtt_input.php|Not connected, retrying connection
2016-10-12 20:21:45.682|WARN|phpmqtt_input.php|Connecting to MQTT server: Connection Accepted.: code: 0
2016-10-12 20:21:45.682|WARN|phpmqtt_input.php|Subscribed to topic: emon/#
2016-10-12 20:22:09.571|WARN|phpmqtt_input.php|Starting MQTT Input script
2016-10-12 20:22:10.645|WARN|phpmqtt_input.php|Subscribing to: emon/#
2016-10-12 20:22:10.645|WARN|phpmqtt_input.php|Not connected, retrying connection
2016-10-12 20:22:10.645|WARN|phpmqtt_input.php|Connecting to MQTT server: Connection Accepted.: code: 0
2016-10-12 20:22:10.646|WARN|phpmqtt_input.php|Subscribed to topic: emon/#

I have used “mosquitto_pub -d -t heating/control/1” as the test against publish to mqtt and no joy.

All help welcomed.