Comments (6)
While I am often wrong I am rarely incorrect. Sometimes though I am just mistaken. Glad you got it working.
from relayequipmentmanager.
There are a couple of things going on here. First if this is from a period when the server is starting up, the Raspberry Pi can be tardy responding to the requests as it starts up. This is normal because it does some wacky stuff as it puts the fssys stuff together. It was a real head scratcher. REM is persistent though and will eventually pick it up. So if the messages are during startup you should ignore them until the pi has stabilized. Also, turn off Bluetooth and Serial Console as these delay the whole thing if you have them on.
i2cdetect does some broadcom stuff when it fails fssys and while you can detect the device address it will not communicate with it using a buffer. So it is possible to get a detection of addresses that cannot be communicated with.
As for backups. Under the burger menu in dashPanel there is now a Backups tab that will auto backup the REM server on an interval. This backs up to the njsPC backups directory and will keep as many backups as you have selected. The restore function while it works for njsPC it should not yet be trusted until we have had some time to test it in every environment. It also does not restore REM servers yet. The settings below will keep nearly 4 months of backups. If you manually back up, these will stick around until you delete them from the restore option.
And now a note on SD cards. Let me start off by saying I hate them. First you should never use an SD card that has a slow write speed. U3 or better. I also tend to buy the larger ones and 32Gb seems to be the minimum (for me 128Gb EVO Select). The higher endurance cards seem to use some trim to make sure erroneous writes due to power fade get trimmed from the fs.
from relayequipmentmanager.
I just rebuilt REM from scratch I had some stragglers that I didn't like anyways and it is working now.
I have ran Pi s' on ssd but did't want to for the pool equipment.
I really like the backup option from the menu 👍🏽
from relayequipmentmanager.
@rstrouse Need your help again...
Ok, I tried re installing or doing the REM setup but my board isn't acting right. Errors and no control to the relays here are the logs from REM and the Capture data from njsPC
consoleLog(2021-09-26_22-09-43).log.zip
replay.zip
from relayequipmentmanager.
Ok so all the devices appear to read normally on the I2c bus with the exception of one or more relays. I2c isn't failing as much as the relays are not communicating anymore. REM is being persistent and asks repeatedly for response.
So this leads me to believe that there is one of 3 things going on here.
1, You have a wiring issue where the two wire comms (SDA/SCL) to the relay controller is having issues. This can be due to poor connections or the wire length. A remedy sometimes is to install an active terminator such as LCT4311.
2. The relay controller is attempting to use clock stretching. Raspberry Pi cannot do this in hardware and you must either use an i2C bus overlay or reduce the clock speed of the hardware bus.
3. The relay controller is failing. Remote I/O error is an error that occurs when the endpoint is no longer there. This is not like suddenly REM decided to stop talking to the device. Communication is still going on. The relay and more importantly the i2c controller on the relay decided not to respond.
from relayequipmentmanager.
Ok so all the devices appear to read normally on the I2c bus with the exception of one or more relays. I2c isn't failing as much as the relays are not communicating anymore. REM is being persistent and asks repeatedly for response.
Yes you are correct like always. It was a loose wire on the I2c side, guess I need to clean that part up!
Thanks again! :grin
from relayequipmentmanager.
Related Issues (20)
- REM seems to have lost its config HOT 4
- Multi-relay board error in logs HOT 7
- Sequent 16 relay card HOT 5
- Mega-BAS V4 update? HOT 20
- ORP, PH pump and sensor faults HOT 2
- Sequent Smart Fan V6 HOT 10
- Relay board acting strange HOT 4
- Error saving pin1-13: EINVAL: invalid argument, write HOT 1
- REM not starting / Error: EINVAL: invalid argument, write HOT 10
- Losing configuration HOT 11
- Sequent Home Automation Card v4 HOT 2
- REM Error HOT 7
- Thermistor Calibration - Steinhart-Hart ? HOT 5
- Support for Pimoroni Automation HAT HOT 3
- Generic Devices loses Save and Delete button HOT 17
- Error trying to save config of generic 10k temperature probe HOT 2
- 1-wire DS1820B sensor names do not persist after REM restart HOT 1
- Sequent 4rel4in v4 - Feeds for digital input errors HOT 9
- 4-20mA pressure sensor HOT 8
- Reference ip is not defined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from relayequipmentmanager.