Search found 4 matches

by fipse
Friday 01 September 2023 2:05
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Device lost in Hardware, Found it in DB
Replies: 2
Views: 442

Re: Device lost in Hardware, Found it in DB

1, yes it's all on the left
2. it's a "dummy" sensor, therfore is must be running. "Hide Disabled Hardware Sensors" is deactivated. :cry:

any other idea?

-fipse
by fipse
Thursday 31 August 2023 12:47
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Device lost in Hardware, Found it in DB
Replies: 2
Views: 442

Device lost in Hardware, Found it in DB

Hi,

I recently did an update and one device is missing - let's call it 241 (P1 Smart Meter)

It's neither visible in the untility tab nor in the hardware list.

In the DB it's there - in MultiMeter_Carlendar and DeviceStatus

Other P1 Meters are there and working properly.
When i open https://ip ...
by fipse
Tuesday 08 February 2022 19:50
Forum: LUA
Topic: motion sensor at night
Replies: 3
Views: 1242

Re: motion sensor at night

Thanks, that solved it :D

So if someone want exactly this without dzVents:

commandArray = {}
now = os.date("%H") * 60 + os.date("%M")
sunset = timeofday['SunsetInMinutes']
sunrise = timeofday['SunriseInMinutes']

if now >= sunset or now <= sunrise then
if (devicechanged['PIR2'] == 'On' and ...
by fipse
Sunday 06 February 2022 19:26
Forum: LUA
Topic: motion sensor at night
Replies: 3
Views: 1242

motion sensor at night

Hi,

I'd like to accomplish, that the motion sensor only works at night. With this code it works all of the time:


-- LUA trigger set to device

commandArray = {}
-- Set the time:
now = os.date("%H") * 60 + os.date("%M")
sunrise = timeofday['SunsetInMinutes']
sunset = timeofday['SunriseInMinutes ...