Important community news
pimatic-echo@0.6.0

@Andi-Tudor Ok, great to hear. I should have asked you about your plugin config. My fault

read more
You have a cool idea about pimatic?
Support for Eufy RoboVac Products
C

Hey folks,

did someone try to connect pimatic with Eufy’s (or Anker) RoboVacs?

there is a library out there on GitHub but I don’t know how to use it within pimatic…

Kind Regards,
Paule

read more
Here you will find good setup tutorials!
Rhasspy voice control integration for pimatic
A

Hey @crispy,

thank you for pointing me to this software. I was looking for something like this for ages: an offline voice assistant that can still do some basic tasks.

I tried to implement this, but with a little different approach to the intent handling. I wanted to use a MQTT-device to evaluate the speech recognition. In my MQTT I can see the correct message, but I don’t know how to get a MQTT sensor to show the correct values based on the json message. Maybe someone could help out?
Here is the message published to hermes/intent/intentname

{ "input" : "schalte das Licht Arbeitszimmer Keller aus", "intent" : { "intentName" : "ChangeLightState", "confidenceScore" : 1.0 }, "siteId" : "Tester", "id" : null, "slots" : [ { "entity" : "name", "value" : { "kind" : "Unknown", "value" : "Arbeitszimmer Keller" }, "slotName" : "name", "rawValue" : "arbeitszimmer keller", "confidence" : 1.0, "range" : { "start" : 18, "end" : 38, "rawStart" : 18, "rawEnd" : 38 } }, { "entity" : "state", "value" : { "kind" : "Unknown", "value" : "aus" }, "slotName" : "state", "rawValue" : "aus", "confidence" : 1.0, "range" : { "start" : 39, "end" : 42, "rawStart" : 39, "rawEnd" : 42 } } ], "sessionId" : "Tester-default-7672fba5-f36e-4251-a83c-acf1f1eb7bce", "customData" : "default", "asrTokens" : [ [ { "value" : "schalte", "confidence" : 1.0, "rangeStart" : 0, "rangeEnd" : 7, "time" : null }, { "value" : "das", "confidence" : 1.0, "rangeStart" : 8, "rangeEnd" : 11, "time" : null }, { "value" : "Licht", "confidence" : 1.0, "rangeStart" : 12, "rangeEnd" : 17, "time" : null }, { "value" : "Arbeitszimmer", "confidence" : 1.0, "rangeStart" : 18, "rangeEnd" : 31, "time" : null }, { "value" : "Keller", "confidence" : 1.0, "rangeStart" : 32, "rangeEnd" : 38, "time" : null }, { "value" : "aus", "confidence" : 1.0, "rangeStart" : 39, "rangeEnd" : 42, "time" : null } ] ], "asrConfidence" : 1.0, "rawInput" : "schalte das licht arbeitszimmer keller aus", "wakewordId" : "default", "lang" : null }

I would like to directly use the slotnames name and state as attributes of the sensor device, but don’t know how to adress them…

read more
Discussion about Hardware.
How to add a PIR as a device (wired)?
W

@alter_knochen thanks again. Interesting. So far I was also using Arduino IDE, but ESPHome looks like a good alternative with good documentation.
Mosquitto already runs on my NAS, as well as my main Pimatic instance (via Docker).
I will give it a try!

read more

All about code

TLS support for pimatic-calendar2 plugin
C

seems to be an unstable plugin, isn’t it?

17:40:16.716 [pimatic] error: An uncaught exception occurred: TypeError: buffer.search is not a function
17:40:16.716 [pimatic] error:> at Function.ICAL.parse.parser._eachLine (/home/pi/pimatic-app/node_modules/pimatic-calendar2/node_modules/ical-expander/node_modules/ical.js/build/ical.js:2099:26)
17:40:16.716 [pimatic] error:> at Object.parser [as parse] (/home/pi/pimatic-app/node_modules/pimatic-calendar2/node_modules/ical-expander/node_modules/ical.js/build/ical.js:1670:12)
17:40:16.716 [pimatic] error:> at new IcalExpander (/home/pi/pimatic-app/node_modules/pimatic-calendar2/node_modules/ical-expander/index.js:15:26)
17:40:16.716 [pimatic] error:> at /home/pi/pimatic-app/node_modules/pimatic-calendar2/calendar2.coffee:74:24
17:40:16.716 [pimatic] error:> at arrayEach (/home/pi/pimatic-app/node_modules/pimatic/node_modules/lodash/lodash.js:516:11)
17:40:16.716 [pimatic] error:> at Function.forEach (/home/pi/pimatic-app/node_modules/pimatic/node_modules/lodash/lodash.js:9342:14)
17:40:16.716 [pimatic] error:> at CalendarPlugin.scheduleTimeouts (/home/pi/pimatic-app/node_modules/pimatic-calendar2/calendar2.coffee:70:9)
17:40:16.716 [pimatic] error:> at recreateTimeouts (/home/pi/pimatic-app/node_modules/pimatic-calendar2/calendar2.coffee:41:12)
17:40:16.716 [pimatic] error:> at Timeout._onTimeout (/home/pi/pimatic-app/node_modules/pimatic-calendar2/calendar2.coffee:47:11)
17:40:16.716 [pimatic] error:> at ontimeout (timers.js:436:11)
17:40:16.716 [pimatic] error:> at tryOnTimeout (timers.js:300:5)
17:40:16.716 [pimatic] error:> at listOnTimeout (timers.js:263:5)
17:40:16.716 [pimatic] error:> at Timer.processTimers (timers.js:223:10)
17:40:16.716 [pimatic] error:> This is most probably a bug in pimatic or in a module, please report it!
17:40:16.719 [pimatic] warn: Keeping pimatic alive, but could be in an undefined state, please restart pimatic as soon as possible!

read more
All about rules and script develpopment
How to control onkyo receiver
W

no, I didn’t, but it was actually a clean basic installation with a clean installation of the script with this lines
but i will set up a completely new system with pimtaic for testing

sudo apt install python3-pip
pip3 install https://github.com/miracle2k/onkyo-eiscp/tarball/master
export PATH=${PATH}:/home/pi/.local/bin
onkyo --discover
TX-NR626 192.168.1.234:60128

read more
Please report bugs on github!

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