OpenGarage › Forums › OpenGarage Firmware › WIFI reconnection PROBLEM
- This topic has 5 replies, 6 voices, and was last updated 5 years, 8 months ago by
Ant.
-
AuthorPosts
-
December 11, 2017 at 2:34 pm #844
NaksperParticipantHi,
I have OG connected to Openhab and everything works perfect. I get information about the state of everything that happens.
I also have blynk running, the mobile application and everything I could imagine.
I am really happy, but some times OG disconnects from the Wi-Fi network and never reconnects.
I thought there was a problem on the access point and I have changed it but the problem persists in a random way. After reboot cycle, immediately it works again for a random time.Is there any way to force a reboot using a ping watchdog or similar?
regards
December 11, 2017 at 11:12 pm #845
lawrence_jeffParticipantYou might try my fork of the firmware – I changed several things to make the wifi more resilient. https://github.com/lawrence-jeff/OpenGarage-Firmware
If you want to use an external process to reboot it you can always do a get request to
http://IP/cc?reboot=1&dkey=key
Where IP represents your device and key is your passcode
December 12, 2017 at 6:24 am #847
JamieParticipantDo you mind if i ask how you integrated OG with openhab? I have been trying for a while now with no success.
Thanks
December 19, 2017 at 1:09 pm #874
[email protected]ParticipantLook at this:
January 1, 2018 at 11:48 pm #895
RayKeymasterThe issue is now fixed by compiling the firmware with Arudino core 2.3. Also the WiFi reconnection issue is fixed in the upcoming firmware 1.0.7 (will post shortly).
January 22, 2018 at 2:55 am #936
AntParticipantJamie,
I have configured opengarage to integrate with OpenHAB using a Mosquitto Broker. I installed this using the options within the Openhabian configuration script.Configure Opengarage to use this MQTT broker (in the opengarage options menu)
Install the MQTT binding in OpenHAB. (see binding details at https://docs.openhab.org/addons/bindings/mqtt1/readme.html),
I use the following garage door item in my items file
Number Door_Garage_Right_State "Garage (R) is[MAP(access_garage.map):%s]" <garagedoor> (gGarage) {mqtt="<[xxxopenhab:My OpenGarage/OUT/CHANGE:state:default]"}
and I have a map file to transpose the opendoor outputs to be consistent with the rest of my setup
I was new to MQTT and found an excellent resource at https://www.hivemq.com/blog/mqtt-essentials/page/2/
Hope this helps
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenGarage › Forums › OpenGarage Firmware › WIFI reconnection PROBLEM