kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.98k stars 496 forks source link

Mycodo is not accessible and Raspberry Pi3 B+ after less than 12 hours #1394

Open Pierrevictor67 opened 2 weeks ago

Pierrevictor67 commented 2 weeks ago

Versions:

Hello, since a week I have installed Mycodo on a Pi3 B+ with a hat UPS and a Hat relay Pi 6 from Sbcomponnets. It has a usb SSD disk connected (ORICO SSD M.2 NVME 940 256Go USB 3.1 Gen2)

A SHT31 temperature sensor and a LCD 4x20 both on I2C with a logic converter to use 3V and 5V together. The make measures and activate the relay connected to a fridge with minimum functionning time of 120 seconds. Temperature target of the PID is 15°C

I reinstall all, Rpi OS this morning and Mycodo with InfluxDb1 instead of InfluxDB2.

But I still have the same error. In DEBUG logs I can see that at an undetermined time the daemon restart (12:53 am) After that the PID no more functions correctly, and the regulation is stopped.

I observe that after this event, I cannot connect to Rpi with SSH because Ip address is no more answering to pings.

I think that with your experience you can understand what I'm doing baddly.

But I cannot find any rational explanantion by myself.

I join all the lines of the Mycodo logs frome this morning 9:30 AM to 12:53am when the error came back.

Thank's for your help.

With best regards. Pierre errors Mycodo Influxdbx1.txt

jimbo762 commented 2 weeks ago

My first guess is power. What's the wattage on your power supply/supplies?

Pierrevictor67 commented 2 weeks ago

Thank you very much for your fast reply. The UPS hat from SB components should send 2A or 2.5 A Pi interface through screen and Keyboard told me an alert about this. But with informations that I found it should be sufficient. Saturday I will receive an official power supply for Rpi 3 and connect it instead of the Hat UPS https://learn.sb-components.co.uk/UPS-Hat-for-Raspberry-Pi

With best regards. Pierre