ni-c / heimcontrol.js

Home-Automation with node.js and Raspberry PI
MIT License
1.41k stars 297 forks source link

Arduino duino library #17

Closed bkiss closed 10 years ago

bkiss commented 10 years ago

I know, the DHT sensors are not included yet in duino library, but in my situation i think i have problems with the communication with arduino board.

I have tryed with the original duino code on Arduino board and i have the same issue anyway.

I will put two example output(in the pictures below), maybe somebody can help me, now i have no more ideas.

  1. first : example sensor-throttled.js from duino examples, everything looks OK:

sensor-throttled_ok

  1. second: heimcontrol.js with debug enabled in plugins/duino/ - you can see the communication problem, it's not synchronized or something. The worst is when i get Null...

problem

I already have re installed the whole raspbian, and mongo, and node, everything, but no success.

Thank you in advance for your ideas.

bkiss commented 10 years ago

Huh,

I have just restored a backup for the whole sdcard, and everything's just fine.

I will try to locate the problem, and i will let you know about my problem.

bkiss commented 10 years ago

This issue is resolved also with simple "reinstall" from github, like this

git clone git://github.com/ni-c/heimcontrol.js.git cd heimcontrol.js npm install

after renaming the old heimcontrol.js directory.

On my clean install sdcard, is also OK, with this procedure.

I cannot explain the reason, but it's solved.