Search found 10 matches

by robingerritsen
Thursday 18 June 2020 14:08
Forum: Show your projects
Topic: Custom dashboard mobile device
Replies: 3
Views: 1167

Custom dashboard mobile device

Hi,

I build my own custom dashboard voor my mobile device.
let me know if you like it :D
See a few screenshots below:

https://i.imgur.com/XD0kp03.png

https://i.imgur.com/1DHgiYi.png

https://i.imgur.com/2qhl5aY.png

https://i.imgur.com/mRvDeX7.png

https://i.imgur.com/wUwvaJV.png ...
by robingerritsen
Sunday 03 January 2016 21:24
Forum: LUA
Topic: lua script if Humidity >...% then
Replies: 16
Views: 5177

Re: lua script if Humidity >...% then

Maybe I am confused now but the result of your test is that the FAN will only be activated when the Humidity is higher than 65% before 1 hour is passed since the last time the fan was activated? When the humidity is only > 65% after the 3660 seconds is passed, the fan will not be activated anymore ...
by robingerritsen
Sunday 03 January 2016 20:48
Forum: LUA
Topic: lua script if Humidity >...% then
Replies: 16
Views: 5177

Re: lua script if Humidity >...% then

I think that such a script won't do you any good on the long run. The thing is that this 60% threshold varies from day to day. A while ago I had a hygrostat that was supposed to switch on the fan when a certain amount of humidity was registered in the bathroom but I ended up adjusting this ...
by robingerritsen
Sunday 03 January 2016 14:52
Forum: LUA
Topic: lua script if Humidity >...% then
Replies: 16
Views: 5177

Re: lua script if Humidity >...% then

jvdz wrote:This is for the last script I posted 3 minutes before your last post?

Jos
Jos you are a hero!! It works!
thank you very much for the time and effort!!
by robingerritsen
Sunday 03 January 2016 14:39
Forum: LUA
Topic: lua script if Humidity >...% then
Replies: 16
Views: 5177

Re: lua script if Humidity >...% then

sorry there was something wrong with the upload of the script. I have now uploaded the correct script and get the following error message:

2016-01-03 14:36:36.166 Error: EventSystem: /home/pi/domoticz/scripts/lua/script_device_Badkamer.lua:2: attempt to compare number with nil
by robingerritsen
Sunday 03 January 2016 14:24
Forum: LUA
Topic: lua script if Humidity >...% then
Replies: 16
Views: 5177

Re: lua script if Humidity >...% then

jvdz wrote:Is the devicename for your Fan correct ('Fan') ? It is case sensitive and need to be the exact name as listed in the Devices overview.

Jos
yes, it is exactly 'Fan' also with a capital.
by robingerritsen
Sunday 03 January 2016 14:15
Forum: LUA
Topic: lua script if Humidity >...% then
Replies: 16
Views: 5177

Re: lua script if Humidity >...% then

I see I had a typo in there for elseif.
Had a closer look at the LUA event options for that type of device and think something like this should work as a "script_device_xxxx.lua" event:
commandArray = {}
if (devicechanged['Badkamer_Humidity'] > 60 and otherdevices['Fan'] == 'Off') then
print ...
by robingerritsen
Sunday 03 January 2016 13:52
Forum: LUA
Topic: lua script if Humidity >...% then
Replies: 16
Views: 5177

Re: lua script if Humidity >...% then

Are you sure the device Badkamer contains all that weather data? What is the exact value of the device listed under Setup/Devices?
I guess it should be something like this and name the script script_time_xxxxxx.lua to do the check one time each minute:
commandArray = {}
sWeatherTemp ...
by robingerritsen
Sunday 03 January 2016 13:07
Forum: LUA
Topic: lua script if Humidity >...% then
Replies: 16
Views: 5177

lua script if Humidity >...% then

Hello,

I'm trying to create a script, that the fan turn on when the humidity above 60% is.
I know that this script is completely wrong but I had something like this in mind:

commandArray = {}
sWeatherTemp, sWeatherHumidity, sWeatherUV, sWeatherPressure, sWeatherUV2 = otherdevices_svalues[Badkamer ...
by robingerritsen
Friday 11 December 2015 21:03
Forum: Switches and Scenes
Topic: ACDB-6500BC doorbell
Replies: 31
Views: 8082

Re: ACDB-6500BC doorbell

I am using this same doorbell and for me it worked without any issues. The only difference i can see is that i have ATI,AD and Hideki enabled.

@mbliek, i am pretty sure the 6500BC is an ARC devices because it has the Letter code selector.

Gents,

Today I sucessfully added this doorbell. It was ...