Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

New feature - nightly restart? #255

Closed
Gert05 opened this issue Dec 8, 2019 · 7 comments
Closed

New feature - nightly restart? #255

Gert05 opened this issue Dec 8, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@Gert05
Copy link
Contributor

Gert05 commented Dec 8, 2019

Thanks again for a great piece of software.

I noticed that ems-esp sometimes "freezes". MQTT seems disconnected (web page shoows disconnect), Domoticz cannot read status nor can I set the themostat's temperature. A simple reboot does the trick until the next freeze.

A nightly restart (eg at 01.00 every 2nd or 3rd night) may resolve these issues. Can this be implemented?

@Gert05 Gert05 added the enhancement New feature or request label Dec 8, 2019
@proddy
Copy link
Collaborator

proddy commented Dec 8, 2019

Which version are you on? I was hoping I had fixed the majority of the connectivity problems in the last builds.

@Gert05
Copy link
Contributor Author

Gert05 commented Dec 8, 2019 via email

@proddy
Copy link
Collaborator

proddy commented Dec 9, 2019

Try 1.9.4.

@Gert05
Copy link
Contributor Author

Gert05 commented Dec 9, 2019

That opens up a whole new can of worms. I have had problems with dev branch in the past so I stayed away from it until now...

I have recently upgraded my PC and started from scratch. Did as suggested in the wiki (Win 10, PlatformIO).
I cannot get PlatformIO to install the libraries for me, so I have manually copied libraries into the lib subdirectory.

"Build" ends with a few errors, starting with the following:
Compiling .pio\build\debug\libdde\ESP8266WiFi\BearSSLHelpers.cpp.o
src\TelnetSpy.cpp: In member function 'void TelnetSpy::setDebugOutput(bool)':
src\TelnetSpy.cpp:442:48: error: invalid conversion from 'void*' to 'fp_putc_t {aka void (*)(char)}' [-fpermissive]
os_install_putc1((void *)TelnetSpy_putc); // Set system printing (os_printf) to TelnetSpy

@proddy
Copy link
Collaborator

proddy commented Dec 9, 2019

Those build errors should be gone if you use the dev branch (in pio click bottom left where it says master). If not let me know!

If you prefer, just take the latest firmware and follow the instructions on the wiki to upload the binary.

@glitter-ball
Copy link

I, too, have been having problems recently. I'm using 1.9.3 feeding Home Assistant on a RPi3. Three times, now, I've found the HA web server unresponsive. When I restart HA, it shows EMS-ESP as offline and there is no incoming MQTT data when I listen.

When I telnet into ems-esp it shows MQTT as disconnected, despite saying that the data is being published. I end up doing a 'restart' on ems-esp and it all recovers.

@proddy
Copy link
Collaborator

proddy commented Dec 15, 2019

1.9.4 fixes the stability issues (hopefully). I've been testing and fine-tuning for a month now. I'll push it to master soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants