DheerajKhajuria / pimatic-mysensors

mysensors
http://forum.mysensors.org/topic/797/pimatic-mysensors-controller-plugin
GNU General Public License v2.0
23 stars 24 forks source link

Direct TCP connection to Mysensors Wifi gateway #43

Closed rspaargaren closed 6 years ago

rspaargaren commented 8 years ago

Hi I am now using your plugin to connect to the wifi gateway of mysensors via a socat tunnel. It would be nicer and far more stable if we could have this option directly without the trick. I am not a coffee specialist but as far as I could see such a connection is not that hard?

https://coffeescript-cookbook.github.io/chapters/networking/bi-directional-client

Or this existing routine can be used?

node-xbmc / src / TCPConnection.coffee

AnduriI commented 8 years ago

Any plan on this point? I would realy like that feature to avoid unstable socat connection.

HarrySteff commented 8 years ago

Are there some news? Iam very interested in adding support for WiFi gateway, too... Here we are discussing about how to get mysensors-data into pimatic, but in my opinion the best way would be directly with support of this plugin? https://forum.pimatic.org/topic/1853/mysensors-esp8266gateway-with-direct-rest-api-access-to-pimatic

Thank you

sweebee commented 6 years ago

Should work now, just published a (possible) fix for reconnecting.