Open bkiss opened 10 years ago
I have the same problem with the sensors but i'm using a unmodified Arduino firmware. The Arduino just stops giving out sensor data but i still can switch 433 MHz modules. Restarting heimcontrol resolves that issue, but i don't understand why this is happening. I tried increasing the throttling but it didn't help.
1382102085739 duino info analogRead from pin A0 1382102085743 duino write 04A0000 1382102085752 duino receive A0::087 1382102086214 duino info analogRead from pin A2 1382102086219 duino write 04A2000 1382102086228 duino receive A2::648 1382102086248 duino info analogRead from pin A0 1382102086252 duino write 04A0000 1382102086724 duino info analogRead from pin A2 1382102086728 duino write 04A2000 1382102086758 duino info analogRead from pin A0
I have tried to change the duino library, no success. I have the same issue with the original arduino firmware, don't worry about that. I have an old installation of heimcontrol and it looking good, after 3 hours of operation. I will let you know if something changes, only on monday...
Thank you for feedback, i was thinking is just my problem...
Is it working for you now? I stopped using sensors for now until i figure out why the arduino keeps locking up. I tried replicating the bug by changing the sensor-throttled.js to use two sensors, but it worked like a charm for hours. So I think it isn't a problem of my arduino.
Izim: Yes, now i have a working version, but is an old version of heimcontrol.js. I will try to find the main problem, but for now i cannot see nothing wrong with the new code.
I have tried to change tha duino library, but i think the problem is with the main software, and not with the library. Anyway, the example code it's working for me also.
I have already have another set of raspberry pi and arduino to eliminate the hardware problems. My old problem with arduino communication posted before, is solved by "reinstalling" heimcontrol.js. But i have a new one :( The sympthom is coming in about 30 minutes from starting heimcontrol, which is working great until the readings from the arduino stops, and i have no response from the arduino, and the leds on the arduino is showing me the communication problem, like the console messages with debug enabled. It's interesting, because if i restart heimcontrol, without any hardware reset, is working again. I think, my problem comes from the arduino, because i have a modified code uploaded, to read my dht22 sensors. Two separate systems, same issue.
My problem is, that i want to use digital sensors, at 50m from the system, that's why i modified the arduino code.
Now i want to create a new plugin, using existing working software, to connect the dht sensor(s) directly to raspberry.
I have tested and i have readings from the console using: https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code/tree/master/Adafruit_DHT_Driver
Please let me know if it's possible or i want too much :)