Search found 50 matches

by binbo
Saturday 26 November 2022 17:19
Forum: LUA
Topic: os.execute curl - I need an error catch??
Replies: 4
Views: 1332

Re: os.execute curl - I need an error catch??

Oh heck! That’s above my pay grade coding :lol:

I’ll PayPal you £5 for a pint if you can show me how to replace my curl execute line - for your example - using my example.com domain.

Thank you so much for reply.
by binbo
Saturday 26 November 2022 13:49
Forum: LUA
Topic: os.execute curl - I need an error catch??
Replies: 4
Views: 1332

os.execute curl - I need an error catch??

Hi all, I’m using this line: os.execute ('curl -s "https://www.example.com/gateway/?user=binbo&pass=123 It works perfect - except when that site is done - or slow… then it seems to stop my lua script completing. Non-async? How can I catch when the curl fails to allow my other parts of the script to c ...
by binbo
Wednesday 31 August 2022 11:28
Forum: Z-Wave
Topic: zwavejs2mqtt
Replies: 446
Views: 61102

Re: zwavejs2mqtt

Hi all, 2 questions… Q1: Is there a guide for a Windows 10 domoticz user to follow? I used to use a pi - but the win10 stability has been amazing. No downtime in over a year. Q2: Does zwavejsmqtt fix the issue domoticz has with reporting the state of a z-wave device? In ozw CP - devices ON/Off state ...
by binbo
Sunday 28 August 2022 10:07
Forum: Z-Wave
Topic: Slow to rebuild after adding new device (openz)
Replies: 1
Views: 218

Slow to rebuild after adding new device (openz)

Hi all, I’m still using OpenZwave for my system - it’s actually really stable - I’ve not had an issue with anything for over a year. I have 38 z-wave devices. Basically all aeotec plugs or relays. But yesterday I wanted to add 2 new aeotec dual dimmers to my network. After each was paired - the whole ...
by binbo
Friday 15 April 2022 16:11
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 336
Views: 73520

Re: Alexicz - FREE Domoticz to Alexa Integration

I have just been told that Python 3.6 is being dropped on AWS.

You’ve got to upgrade to 3.9

Is Alexicz compatible with this version of Python?
by binbo
Saturday 02 April 2022 21:30
Forum: LUA
Topic: Handling repeated 433mhz messages??
Replies: 0
Views: 242

Handling repeated 433mhz messages??

I’ve got a door/open/close sensory - 433mhz.

When it is set off - it’s sending the “on” signal for over 10secs.

It’s great for making sure the device is picked up by domoticz — but how can I stop my lua script repeating over and over?

Thanks for any help.
by binbo
Thursday 05 August 2021 20:37
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Buster Pi to windows 10
Replies: 0
Views: 433

Buster Pi to windows 10

I’m moving from my raspberry pi with buster - to windows 10.

I don’t want to lose all my devices and scripts.

Can I just use the backup from the pi with the new windows 10 setup?

Thank you

ANSWER:

Yes - just back up the database file from pi, and it 100% works with new windows set up :o
by binbo
Tuesday 03 August 2021 15:12
Forum: Other questions and discussions
Topic: A mini windows 10 pc to replace pi???
Replies: 5
Views: 1142

Re: A mini windows 10 pc to replace pi???

Cheers guys.

Neither of them are available in UK - but I can now match the specs - and some have same case designs as ones available here, so are probably just same gear different brand.

I’ll take a look.

Thanks again.
by binbo
Monday 02 August 2021 8:54
Forum: Other questions and discussions
Topic: A mini windows 10 pc to replace pi???
Replies: 5
Views: 1142

A mini windows 10 pc to replace pi???

Can anyone recommend me a mini windows 10 pc to be used to run 24/7 as my domoticz server replacement?

I’ve looked on Amazon, but there’s so many, and I’d rather hear from recommendation from you guys who know if something is safe to run 24/7 without issues.

Budget is < £400

Cheers.
by binbo
Wednesday 05 May 2021 10:30
Forum: LUA
Topic: Detect Security - X10 security - Alarm???
Replies: 2
Views: 923

Re: Detect Security - X10 security - Alarm???

Answering my own question just in case anyone looks for this in the future...

Code: Select all

if (devicechanged['name'] == 'Alarm') then
   
	-- Now reset it back to off...
	
	commandArray['name'] = 'Normal'

end
by binbo
Wednesday 05 May 2021 10:28
Forum: Z-Wave
Topic: Wrong status for devices...
Replies: 0
Views: 236

Wrong status for devices...

In Domoticz, when i first open it up after a day /or a few hours -- there is a difference between what Domoticz shows, and what a devices real state is in OZW: Screenshot 2021-05-05 083432.png In OZW: Screenshot 2021-05-05 0909332.png I then turn the device off in Domoticz, by pressing the light ...
by binbo
Wednesday 05 May 2021 9:37
Forum: LUA
Topic: Detect Security - X10 security - Alarm???
Replies: 2
Views: 923

Detect Security - X10 security - Alarm???

Hi all, I have a set of beam-breaker detectors - when they go off - they are just sending out this: Screenshot 2021-05-05 083432.png How do i detect for this in LUA? I have a "trigger: device" script, and usually, i would do this: if (devicechanged['name'] == 'On' But the state never changes on this ...
by binbo
Saturday 20 March 2021 12:48
Forum: LUA
Topic: uservariables_lastupdate NIL
Replies: 4
Views: 755

Re: uservariables_lastupdate NIL

SORRY!

I didn't know you had to create the user variable in setup > more options > user variables

Before you could use them! :roll:
by binbo
Saturday 20 March 2021 12:27
Forum: LUA
Topic: uservariables_lastupdate NIL
Replies: 4
Views: 755

Re: uservariables_lastupdate NIL

I see this... floodsWork : 1 ==>> 2020-01-26 17:06:17 The trigger is set to "Device" I am essentially trying to set a variable with the current time. Then check to see if 30secs have passed since it was set. As my 433mhz beam detectors receive 10 or so responses, and my script is sending me 10 sms ...
by binbo
Saturday 20 March 2021 11:19
Forum: LUA
Topic: uservariables_lastupdate NIL
Replies: 4
Views: 755

uservariables_lastupdate NIL

Hi all, I thought this would be easy - but I am having a real problem with it... s = uservariables_lastupdate['oneSMS']; if (s ~= nil) then print("UPDATED") end uservariables['oneSMS'] = 'set'; print("SET VALUE") In my log i NEVER get UPDATED. I am setting the value of "oneSMS" - why does the ...
by binbo
Sunday 14 February 2021 14:24
Forum: Z-Wave
Topic: Live status does not work? Aeotec...
Replies: 14
Views: 2128

Re: Live status does not work? Aeotec...

Bit of a late reply - but I’m in same situation.

It’s 100% domoticz issue not talking to OZW.

Z-wave devices report perfect in open z-wave control panel.
In domoticz - it’s not working.

It’s not a usb3 or pi issue - as like I said, ozw is working fine.
by binbo
Sunday 08 November 2020 14:36
Forum: Z-Wave
Topic: Live status does not work? Aeotec...
Replies: 14
Views: 2128

Re: Live status does not work? Aeotec...

Cheers guys - I will find pi model, usb info, and get logs and stuff when I get home. But... I’ve got a feeling it’s not a usb 3 issue, or even a pi model issue - as the z-stick is reporting correct status to OZW The status is always correct in OZW. It makes me suspect it’s the link between ozw and d ...
by binbo
Sunday 25 October 2020 17:49
Forum: Z-Wave
Topic: Live status does not work? Aeotec...
Replies: 14
Views: 2128

Re: Live status does not work? Aeotec...

Any way to fix this anyone?

It kind of takes away the best feature of z-wave.
by binbo
Tuesday 22 September 2020 23:37
Forum: Z-Wave
Topic: Live status does not work? Aeotec...
Replies: 14
Views: 2128

Re: Live status does not work? Aeotec...

Hi, I finally managed to check this - thanks for the idea @kiddigital! In my OpenZWave control panel - all devices are reporting correctly - but in domoticz - some are showing as “ON” when they are off, and they are correctly reported as off in OZW. What does this mean? And what can I do? Many tha ...
by binbo
Tuesday 01 September 2020 21:23
Forum: Z-Wave
Topic: Live status does not work? Aeotec...
Replies: 14
Views: 2128

Re: Live status does not work? Aeotec...

Anyone? :(

This is main reason I switched to z-wave :(