Search found 11 matches

by tobydeteckel
Saturday 20 June 2020 7:02
Forum: LUA
Topic: Is this IF statement logic correct? (Time between)
Replies: 4
Views: 809

Re: Is this IF statement logic correct? (Time between)

Code:
function timebetween(s,e)
timenow = os.date("*t")
year = timenow.year
month = timenow.month
day = timenow.day
s = s .. ":00"
e = e .. ":00"
shour = string.sub(s, 1, 2)
sminutes = string.sub(s, 4, 5)
sseconds = string.sub(s, 7, 8)
ehour = string.sub(e, 1, 2)
eminutes = string.sub(e ...
by tobydeteckel
Tuesday 14 April 2020 23:50
Forum: Heating/cooling
Topic: Toon Thermostat VS Boxx Thermostat
Replies: 1
Views: 601

Re: Toon Thermostat VS Boxx Thermostat

the website where you login with this Hardware plugin isnt supported by Eneco enymore you could try using the ToonApiLib plugin using developers API.

this is the new way domoticz can interact with toon.

i do have toon myself, since 2015, last december i did root the device this was overall the ...
by tobydeteckel
Thursday 05 December 2019 23:31
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: domoticz chrashes when i install latest beta.
Replies: 12
Views: 927

Re: domoticz chrashes when i install latest beta.

You can try replace the specific plugin folders 1-by-1 to determine which plugin crashing your installation.

Thijs
by tobydeteckel
Thursday 05 December 2019 23:00
Forum: Python
Topic: always "returned: 32512" on simple/empty script
Replies: 1
Views: 1172

Re: always "returned: 32512" on simple/empty script

I did 2 different things,

Making a start script, so domoticz executed the scripts and thinks it's done immediately, (ending command with '&')

So my script doorbell.sh get executed by doorbell-start.sh
Doorbell.sh got sudo permissions
Doorbell-start.sh has user permissions
And start the doorbell.sh ...
by tobydeteckel
Thursday 05 December 2019 22:42
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: domoticz chrashes when i install latest beta.
Replies: 12
Views: 927

Re: domoticz chrashes when i install latest beta.

I hope they help us,

Just bought a Raspberry PI 4 to solve the problem.
No luck......
by tobydeteckel
Thursday 05 December 2019 15:11
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: domoticz chrashes when i install latest beta.
Replies: 12
Views: 927

Re: domoticz chrashes when i install latest beta.

Can you try renaming the plugin directory?

Ive got same problem with domoticz since a couple of days.

see:
https://www.domoticz.com/forum/viewtopi ... =6&t=30317

Thijs
by tobydeteckel
Tuesday 12 November 2019 23:23
Forum: Suggestions
Topic: preserve custom SSL certificate when updating
Replies: 4
Views: 1025

Re: preserve custom SSL certificate when updating

Youre Welcome!
by tobydeteckel
Tuesday 12 November 2019 4:28
Forum: Suggestions
Topic: preserve custom SSL certificate when updating
Replies: 4
Views: 1025

Re: preserve custom SSL certificate when updating

Just edit the "domoticz.sh" file in "/etc/init.d" map.

add..
DAEMON_ARGS="$DAEMON_ARGS -sslcert /home/server/domoticz/server_cert1.pem"

and save your certificate named "server_cert1.pem"

when domoticz update the "server_cert1.pem" file wont be touched.

hopefully this will help you.
by tobydeteckel
Wednesday 25 September 2019 14:50
Forum: Python
Topic: Tuya Plugin and Device Id
Replies: 1
Views: 2259

Re: Tuya Plugin and Device Id

with the python tuya CLI, found on github,

https://www.domoticz.com/forum/viewtopi ... 81#p224681
by tobydeteckel
Wednesday 25 September 2019 14:46
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104342

Re: [REQUEST] Plugin for Tuya

Cant wait 8-)

It is for the single socket switches without power readings

The Node-red flow:
[{"id":"72059e25.d0bc8","type":"tab","label":"Powerplug Monitor","disabled":false,"info":""},{"id":"40e9230e.47f2bc","type":"tuya-local","z":"72059e25.d0bc8","devName":"socket1","devIp":"192.168.0.13 ...
by tobydeteckel
Wednesday 25 September 2019 14:34
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104342

Re: [REQUEST] Plugin for Tuya

I got the "Action" Tuya switches with 3.3 HTTPS working with node-red. 2 way MQTT communication.

I wil post the FLOW tonight here, including the used software.

Friendly greetings,
Thijs