Everything that doesn't fit elsewhere
0.9.44: Unable to install the 'athome-plugin'
D

@gleno0h i have tried this but unfortunately it’s not getting better though - this is the tail from the npm-logfile

4879 verbose pkgid serialport@2.0.6
4880 verbose cwd /home/pi/pimatic-test
4881 error Linux 4.14.79-v7+
4882 error argv “/usr/bin/node” “/home/pi/pimatic-test/node_modules/pimatic/ppm.js” “install” “pimatic-athome@0.9.1” "–unsafe-perm"
4883 error node v8.11.1
4884 error npm v2.15.12
4885 error code ELIFECYCLE
4886 error serialport@2.0.6 install: node-pre-gyp install --fallback-to-build
4886 error Exit status 1
4887 error Failed at the serialport@2.0.6 install script ‘node-pre-gyp install --fallback-to-build’.

any other idea?

read more
You have a cool idea about pimatic?
[Implemented] Variables and Devices for date, time and day of week

Agree, Thanks @SaxnPaule for your excellent contribution

read more
Here you will find good setup tutorials!
Status Display with WS2812-LED´s directly connected to the Pi

A way to connect a WS2812-strip or ring directly to the Raspberry Pi.

What you need:

Some WS2812 LED´s Node Red Plugin node-red-node-pi-neopixel Possibly an external power supply.

If you want to use a lot of LED´s, you have to use an external power supply. You have to connect the Ground of the Pi with the Ground of your power supply. In my case a ring with 16 LED´s works fine directly to the 5V of the Pi.

The data line goes to GPIO18.

In Node Red install the plugin node-red-node-pi-neopixel via “Manage palette”

Here is a Flow, to get startet:

[{"id":"edb27438.2943d8","type":"function","z":"9dcfc85e.b28928","name":"LED 2 (Value)","func":"var LED = \"2\"; //LED-Number\nvar Ron =\"255\"; // Color On-State\nvar Gon =\"255\";\nvar Bon =\"255\";\nvar Roff =\"0\"; // Color Off-State\nvar Goff =\"0\";\nvar Boff =\"0\";\nif (msg.payload>1500)\n msg.payload=msg.payload=LED+\",\" + LED + \",\" + Ron +\",\" + Gon +\",\" + Bon;\nelse\n msg.payload=LED+\",\" + LED + \",\" + Roff +\",\" + Goff +\",\" + Boff;\nreturn msg;\n","outputs":1,"noerr":0,"x":390,"y":80,"wires":[["33edf5a4.2ffb0a"]]},{"id":"33edf5a4.2ffb0a","type":"rpi-neopixels","z":"9dcfc85e.b28928","name":"","pixels":"16","bgnd":"Black","fgnd":"Grey","wipe":"40","mode":"pixels","rgb":"rgb","brightness":"50","gamma":true,"x":610,"y":80,"wires":[]},{"id":"f5fac0f3.4c9cb","type":"function","z":"9dcfc85e.b28928","name":"LED 3 (State)","func":"var LED = \"3\"; //LED-Number\nvar Ron =\"0\"; // Color On-State\nvar Gon =\"255\";\nvar Bon =\"0\";\nvar Roff =\"255\"; // Color Off-State\nvar Goff =\"0\";\nvar Boff =\"0\";\nif (msg.payload==true)\n msg.payload=msg.payload=LED+\",\" + LED + \",\" + Ron +\",\" + Gon +\",\" + Bon;\nelse\n msg.payload=LED+\",\" + LED + \",\" + Roff +\",\" + Goff +\",\" + Boff;\nreturn msg;\n","outputs":1,"noerr":0,"x":390,"y":180,"wires":[["33edf5a4.2ffb0a"]]},{"id":"330ce926.7d4616","type":"inject","z":"9dcfc85e.b28928","name":"Value","topic":"","payload":"1600","payloadType":"str","repeat":"","crontab":"","once":false,"x":123,"y":70,"wires":[["edb27438.2943d8"]]},{"id":"24ad5b1e.478194","type":"inject","z":"9dcfc85e.b28928","name":"Value","topic":"","payload":"100","payloadType":"str","repeat":"","crontab":"","once":false,"x":124,"y":115,"wires":[["edb27438.2943d8"]]},{"id":"ee8d7f21.5d902","type":"inject","z":"9dcfc85e.b28928","name":"State","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"x":120,"y":180,"wires":[["f5fac0f3.4c9cb"]]},{"id":"b1583764.afdb28","type":"inject","z":"9dcfc85e.b28928","name":"State","topic":"","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"x":120,"y":230,"wires":[["f5fac0f3.4c9cb"]]}]

read more
Discussion about Hardware.
i2c 1-Wire Expansion Module DS2482S

@bill-blacksoll said in i2c 1-Wire Expansion Module DS2482S:

But owjs plunin always shows : error read value of OWFS sensor temp1: Error: connect ECONNREFUSED 127.0.0.1:4304

I think it might be a configutaion. See https://github.com/mspetik/pimatic-owjs/issues/1

Dar-S created this issue in mspetik/pimatic-owjs closed Error: connect ECONNREFUSED 127.0.0.1:4304 #1

read more

All about code

New plugin for BME280 temperature/humidity/pressure sensor
S

BME280 need to have possibility to calibrate. It is notorious for overheating issues, and I dont trust humidity as well…

read more
All about rules and script develpopment
Radio Stream ButtonDevice
N

yeah, first i thought also something like that, but i’ve really tried all possibilities. i can start mplayer from pimatic rule with no problem, but if i start it that way, it dont listen to the pipe…

to start i use these rule:

execute “mkfifo /tmp/fifofile” and execute “mplayer -slave -input file=/tmp/fifofile http://stream.laut.fm/charon

for change volume that:

execute “echo volume -1 >> /tmp/fifofile”

ps: how can i post code in this forum??

read more
Please report bugs on github!

Looks like your connection to pimatic forum was lost, please wait while we try to reconnect.