[userModule] SunriseSunset - No Longer Maintained

Tips, Tricks and Scripts to enhance your home automation and workaround known device bugs, limitations and incompatibilities
User avatar
Dude
Posts: 20
Joined: 21 Aug 2014 23:49

Re: [userMODULE] SunriseSunset - (Updated Dec 17, 2014)

Post by Dude »

ok - which one is the latest? 2.0.0 or 2.0.5 - I downloaded the 2.0.5 ...
islipfd19
Posts: 126
Joined: 07 Jul 2014 03:35

Re: [userMODULE] SunriseSunset - (Updated Dec 17, 2014)

Post by islipfd19 »

Try the 2.0.5 one first.
User avatar
Dude
Posts: 20
Joined: 21 Aug 2014 23:49

Re: [userMODULE] SunriseSunset - (Updated Dec 17, 2014)

Post by Dude »

SunriseSunset_z-way-2.0.0 works - I suppose it's the newer one although it has the lower index.
islipfd19
Posts: 126
Joined: 07 Jul 2014 03:35

Re: [userMODULE] SunriseSunset - (Updated Dec 17, 2014)

Post by islipfd19 »

THanks! I removed the other one so there isn't any confusion.
Vmartinvega
Posts: 10
Joined: 30 May 2015 16:58

Re: [userMODULE] SunriseSunset - (Updated Dec 17, 2014)

Post by Vmartinvega »

Hi all,

From where can I donwload the latest version (2.0.5). I cannot see any link to this version. In the first post I can see a link to the version 2.0.0

Regards
islipfd19
Posts: 126
Joined: 07 Jul 2014 03:35

Re: [userMODULE] SunriseSunset - (Updated Dec 17, 2014)

Post by islipfd19 »

Use that one it should work.
toomuo
Posts: 23
Joined: 01 Jan 2015 20:14

Re: [userMODULE] SunriseSunset - (Updated Dec 17, 2014)

Post by toomuo »

Not working for me anymore in V2.0.1, but the log shows zway crapping out in the cron module:

[2015-07-07 22:00:00.589] [core] INFO SunriseSunset: Epoch = 1436331601
[2015-07-07 22:00:00.690] [E] [core] Callback execution error: TypeError: Cannot read property 'length' of undefined
at AutomationController.hashCode (automation/classes/AutomationController.js:1186:26)
at AutomationController.addNotification (automation/classes/AutomationController.js:610:21)
at SunriseSunset.fetchSunriseSunset (automation/userModules/SunriseSunset/index.js:159:29)
at AutomationController.onEpoch (automation/userModules/SunriseSunset/index.js:207:14)
at AutomationController.EventEmitter.emit (automation/lib/eventemitter2.js:317:33)
at automation/modules/Cron/index.js:133:42
at Array.forEach (native)
at automation/modules/Cron/index.js:121:27
at Array.forEach (native)
at Function.<anonymous> (automation/modules/Cron/index.js:118:37)

Also this error:
[2015-07-07 22:01:04.852] [core] Executing script: // This script transforms old formats to new ...
[2015-07-07 22:01:05.383] [core] Could not set state/title/module value of instance 34. ERROR: Error: Failed to open file: automation/modules/SunriseSunset/module.json

the file module.json certainly exists - does it need to be updated for V2.0.1?
islipfd19
Posts: 126
Joined: 07 Jul 2014 03:35

Re: [userMODULE] SunriseSunset - (Updated Dec 17, 2014)

Post by islipfd19 »

The module stopped working for me in version 2.0.0. It is for some reason no longer able to pull the data from OpenWeather.org. I've recently move to the Daylight module which provides me with the functionality I need, although I need to add two additional logical rules.
Post Reply