First a big thank for this impressive and comprehensive guide. Will help me a lot.
Sadly it was all my fault. In the end restarting openhab did the trick for me.
Hi. I do have a boatload of rest/items, skill installed, mycroft.conf modified. A wonderfully large working openhab install but once I try to boot the mark1 it never gets beyond the yellow lights. Any help would be great!
Thanks
Guy
Hi there @oakguy, saw your post in another category. If your Mark 1 is stuck at Yellow Eyes there are a couple things we can try. This is not necessarily related to the OpenHAB2 Skill.
- First, we stop and start the Skills service by doing;
sudo service mycroft-skills stop && sudo service mycroft-skills start
- The other thing to try is an update of the device
sudo apt-get update && sudo apt-get install
- Next, if these donât work, try a couple of âhard rebootsâ - pull the power out, leave 10 seconds then power back in.
Please let me know how you go.
Just to add some links that may helpâŚ
@oakguy, as you mention installing lots of skills, and editing mycroft.conf, youâre probably no stranger to the command line and using it to update.
For reference, there is a list of diagnostic eye colours here:
It is worth mentioning that the most recent update (18.2.0) is different, and for my Mark One at least, took MANY reboots for both packages, display firmware, and skills.
After running several previous updates, the extra steps came as a surprise - including a period with yellow eyes. The new eye colours with scrolling progress messages on the face LED matrix are actually pretty good, so to help set your expectations, hereâs the official Mycroft upgrade instruction video:
From memory, custom config moved from /home/mycroft/.mycroft/mycroft.conf
to /etc/mycroft/mycroft.conf
Worst case, unscrew the case, and re-image the uSD card:
Fresh installs generate a new device ID so youâll need to re-register on https://home.mycroft.ai/ .
Good luckâŚ
Thank you! Downloaded the current image, paired and on my way again with Openhab!
Guy
Thank you very much for that very comprehensive documentation. It helped me a lot to get openhab skill working on mycroft.
@mortommy Iâve got the skill installed on mycroft and it recognizes two .items (thermostat target and current temp) but wonât adjust or read temp from it - hereâs .items and dump from skill log - any ideas? It does list the items in response to âlist openhab itemsâ
Openhab panel and paper UI do successfully control the thermostat.
.items:
Group Thermostat âMain Thermostatâ [âThermostatâ]
Number ThermostatSetPoint âThermostat Target [%.1f F]â (Thermostat) [âTargetTemperatureâ] {channel=ânest:thermostat:XXX:set_pointâ}
Number MainThermostatCurrentTemp âIndoor Temperature [%.1f F]â (Thermostat) [âCurrentTemperatureâ] {channel="nest:thermostat:XXX:temperature}
and dump from skills.log:
20:57:12.008 - SKILLS - DEBUG - {âdataâ: {âsessionâ: âxxxâ, âutteranceâ: âhey jarvisâ}, âcontextâ: null, âtypeâ: ârecognizer_loop:wakewordâ}
20:57:15.037 - SKILLS - DEBUG - {âdataâ: {âsessionâ: âxxxâ, âutterancesâ: [âadjust main thermostat to 80 degreesâ], âlangâ: âen-USâ}, âcontextâ: {âclient_nameâ: âmycroft_listenerâ, âidentâ: âxxxâ}, âtypeâ: ârecognizer_loop:utteranceâ}
20:57:15.047 - SKILLS - DEBUG - {âdataâ: {âskill_idâ: âopenhab-mycroft.openhabâ, âutterancesâ: [âadjust main thermostat to 80 degreesâ], âlangâ: âen-USâ}, âtypeâ: âskill.converse.requestâ, âcontextâ: null}
20:57:15.060 - SKILLS - DEBUG - {âdataâ: {âskill_idâ: âopenhab-mycroft.openhabâ, âresultâ: false}, âtypeâ: âskill.converse.responseâ, âcontextâ: {}}
20:57:15.216 - SKILLS - DEBUG - {âdataâ: {âopenhab_mycroft_openhabThermostatStatusKeywordâ: âregulateâ, âconfidenceâ: 0.3333333333333333, âtargetâ: null, âopenhab_mycroft_openhabItemâ: âmain thermostatâ, âtagsâ: [{âfrom_contextâ: false, âend_tokenâ: 0, âkeyâ: âadjustâ, âentitiesâ: [{âdataâ: [[âregulateâ, âopenhab_mycroft_openhabThermostatStatusKeywordâ]], âconfidenceâ: 1.0, âmatchâ: âadjustâ, âkeyâ: âadjustâ}], âstart_tokenâ: 0, âmatchâ: âadjustâ}, {âfrom_contextâ: false, âend_tokenâ: 2, âkeyâ: âmain thermostatâ, âentitiesâ: [{âdataâ: [[âmain thermostatâ, âopenhab_mycroft_openhabItemâ]], âconfidenceâ: 0.5, âmatchâ: âmain thermostatâ, âkeyâ: âmain thermostatâ}], âstart_tokenâ: 1, âmatchâ: âmain thermostatâ}, {âfrom_contextâ: false, âconfidenceâ: 0.5, âend_tokenâ: 4, âkeyâ: â80â, âentitiesâ: [{âdataâ: [[â80â, âopenhab_mycroft_openhabTempValueâ]], âconfidenceâ: 0.5, âmatchâ: â80â, âkeyâ: â80â}], âstart_tokenâ: 4, âmatchâ: â80â}], âutteranceâ: âadjust main thermostat to 80 degreesâ, âopenhab_mycroft_openhabTempValueâ: â80â, âintent_typeâ: âopenhab-mycroft.openhab:SetTemp_StatusIntentâ}, âtypeâ: âopenhab-mycroft.openhab:SetTemp_StatusIntentâ, âcontextâ: {âtargetâ: null, âidentâ: âxxxâ, âclient_nameâ: âmycroft_listenerâ}}
20:57:15.221 - openhab-mycroft_openhab - ERROR - Item not found!
2
Hi,
are you looking for the item by name or by label? Since name in items definition can be not human language oriented, items are searched by label.