pimatic / pimatic-homeduino

Pimatic plugin for using 433mhz devices and sensors with a connected Arduino with homeduino sketch
https://pimatic.org/
GNU General Public License v2.0
37 stars 29 forks source link

Release pimatic-homeduino #89

Closed michbeck100 closed 5 years ago

michbeck100 commented 5 years ago

It would be great if pimatic-homeduino 0.9.12 could be released. The last release is more than 2 years ago. It seems that especially 0a6057bbbb72ea26bef98d7740c9da99a0e44793 brings node 8 compatibility, as homeduinojs uses serial port v4. See https://forum.pimatic.org/topic/4517/install-sqlite3-on-nodev8-problem/15 for example.

michbeck100 commented 5 years ago

Now this issue gets relevant again since the change from 1861bd4ce20ce0a340b81749457dfe5b67b81846 add support for Node 10, too.

mwittig commented 5 years ago

Sure, it is matter of days now.

akicker commented 5 years ago

Unfortunately 0.9.12 did not work on may raspberrys - neiter on node 4 nor on node 8 or higher I am using Raspberry Pi 3 B with 433 MHz transmitter and receiver (via gpio) errors running pimatic.js: [pimatic-homeduino] data: "hardware not supported" [pimatic-homeduino] data: "garbage collected wiringX library"

Found a solution :-) see: https://forum.pimatic.org/topic/3052/help-homeduino-not-working-anymore-solved

git clone https://github.com/layereight/virtualhomeduino.git cd virtualhomeduino make -f Makefile.rpi sudo cp vhduino /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/bin/vhduino AND dont forget to use different PIN-numbering !!! virtualhomeduino: pin numbering changed from wiringpi to pigpio

akicker commented 5 years ago

Uups (0.9.13) & (0.9.14) not working :-( neither on node 4 nor on node 10 errors running pimatic.js: Loading plugin: "pimatic-homeduino" (0.9.14) [pimatic] Invalid or unexpected token

akicker commented 5 years ago

Cool! 0.9.15 works perfect on node 10 :-) On node 4: (I am using 4.9.1) Switches working, but Weather devices do NOT work (no data received) :-(

mwittig commented 5 years ago

@akicker Regarding your weather devices please, either file a new issue with more details or post at https://forum.pimatic.org/

I am closing this now as the original issue (Release pimatic-homeduino 0.9.12) had been resolved

akicker commented 5 years ago

Got 0.9.15 working again on node 4 😊 It was a Plugins Settings problem: I am using receiverPin: 16, transmitterPin: 12 (because the default pins are in use by a tft display) this conflicts with the default value of dstSearchAddressPin: 12 even if enableDSTSensors is (default) set to No !!! Solved by modifying the conflicting dstSearchAddressPin to any other unused pin :-) enableDSTSensors unchanged On my Test-device using node 10 this conflict does not matter, did modify dstSearchAddressPin nevertheless in the same way as on node 4 image