The pimatic one
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
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…
@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!
All about code
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!
Rules and Scripts
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