tomasy / date-time-adapter

Date Time Adapter for Mozill IoT
Mozilla Public License 2.0
0 stars 4 forks source link

Unable to find thing with id: DateTimeDevice #17

Closed flatsiedatsie closed 4 years ago

flatsiedatsie commented 5 years ago

Saw this error in the logs:

2019-11-24 09:10:07.069 INFO   : date-time: util.py:89 INFO CALC_SUNRISE today.utc: 2019/11/24 08:10:07 sunrise: 2019/11/25 05:43:13 sunrise_local: 2019-11-25 05:43:13.396697+00:00
2019-11-24 09:10:07.073 INFO   : Unhandled Rejection
2019-11-24 09:10:07.075 ERROR  : Error: Unable to find thing with id: DateTimeDevice
    at /home/pi/mozilla-iot/gateway/build/webpack:/src/models/things.js:267:1
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
2019-11-24 09:10:07.077 INFO   : date-time: util.py:89 INFO CALC_SUNRISE today.utc: 2019/11/24 08:10:07 sunrise: 2019/11/25 05:43:13 sunrise_local: 2019-11-25 05:43:13.396697+00:00
2019-11-24 09:10:07.077 INFO   : date-time: util.py:96 INFO New sunrise 2019-11-25 05:43:13.396697+00:00

The thing has not been added to the things overview yet, so it's probably an error relating to that.

tomasy commented 5 years ago

It seems like the DateTime adapter has been loaded. The output with "date-time " indicate this but the gateway has not recognized it. Have you tried to reinstall the adapter? Have it worked before?

flatsiedatsie commented 5 years ago

I have not tried to reinstall it. I haven't even started using the adapter yet at that point - I hadn't even added the thing yet.

mrstegeman commented 4 years ago

This was a gateway issue, fixed by mozilla-iot/gateway#2294.