@marceloaqno I finally have the MQTT gateway working after upgrading mosquitto to the latest build... I had installed mosquitto with apt-get under Wheezy which apparently pulled an older version. In retrospect probably should have just upgraded to Jessie from the outset! Working perfectly now (still under wheezy though FWIW)... thanks!
Posts made by shfg
- 
    RE: 💬 Building a Raspberry Pi Gatewayposted in Announcements
- 
    RE: 💬 Building a Raspberry Pi Gatewayposted in Announcements@marceloaqno thanks, turned on mosquitto logging and am getting this error on mosquitto: 1476724216: Invalid protocol "MQTT" in CONNECT from 127.0.0.1. 
 1476724216: Socket read error on client (null), disconnecting.Tried an alternative mosquitto broker on another server too - same error. 
- 
    RE: 💬 Building a Raspberry Pi Gatewayposted in AnnouncementsThanks for this excellent port. I'm having an issue running it as an MQTT gateway on the RPi (Model A). It compiles without hassles, but cant make a successful MQTT connection. I get the following: mysGateway: Starting gateway... 
 mysGateway: Protocol version - 2.0.1-beta
 mysGateway: MCO:BGN:INIT GW,CP=RNNG---,VER=2.0.1-beta
 mysGateway: TSF:LRT:OK
 mysGateway: TSM:INIT
 mysGateway: TSM:INIT:TSP OK
 mysGateway: TSM:INIT:GW MODE
 mysGateway: TSM:READY
 mysGateway: MCO:REG:NOT NEEDED
 mysGateway: MCO:BGN:STP
 mysGateway: MCO:BGN:INIT OK,ID=0,PAR=0,DIS=0,REG=1
 mysGateway: Attempting MQTT connection...
 mysGateway: connected to 127.0.0.1
 mysGateway: Attempting MQTT connection...
 mysGateway: connected to 127.0.0.1
 mysGateway: Attempting MQTT connection...
 mysGateway: connected to 127.0.0.1... those attempts recurring every 15 seconds or so, and in that time, no other activity is processed. 
 From the code, I would have expected 'MQTT connected' rather than 'connected to 127.0.0.1'?I have mosquitto running on the pi in this case - which is working perfectly in other tests. Both serial and ethernet gateway modes compile and run perfectly, only the mqtt mode not working. 
 Has anyone else had a similar issue?