Search found 20 matches

by liderbug
Sunday 19 November 2023 15:29
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Upgrade to FC39 crashes
Replies: 2
Views: 524

Re: Upgrade to FC39 crashes

I'm back up and running (wwst) I had tried domoticz-2023.2-1.fc39.x86_64.rpm - didn't work. So WTH! domoticz-2023.2-1.fc40.x86_64.rpm and about 50 "conflicts" FU! --force. It installed ... and RUNS - I'm back, I'm back.
by liderbug
Sunday 19 November 2023 14:50
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Fedora requirements
Replies: 2
Views: 1147

Re: Fedora requirements

OMG - 2023 and I'm up to FC39 and still having the same problem and the DNF install crashes.
by liderbug
Friday 17 November 2023 0:05
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Upgrade to FC39 crashes
Replies: 2
Views: 524

Re: Upgrade to FC39 crashes

OK, I removed all traces of domoticz from the system. dnf remove, locate and rm. Then dnf install domoticz. When I run systemctl start domoticz.service I get Fatal Python error: PyImport_AppendInittab: PyImport_AppendInittab() may not be called after Py_Initialize() Python runtime state: initialized ...
by liderbug
Thursday 16 November 2023 16:02
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Upgrade to FC39 crashes
Replies: 2
Views: 524

Upgrade to FC39 crashes

Was running fine, wasn't broke so I fixed it. Upgraded to FC39. Dom crashed. dnf reinstall domoticz -> start -> crashed. download rpm and install, same crash. ------------------------------------------- /usr/bin/domoticz -www 8080 -wwwroot /usr/share/domoticz/www -dbase /home/chuck/bin/domoticz.db ...
by liderbug
Tuesday 11 December 2018 2:02
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92461

Re: TP-Link smart plug HS100/HS110

Flame me all you want, but ... (kiss) #!/bin/bash cmdON="AAAAKtDygfiL/5r31e+UtsWg1Iv5nPCR6LfEsNGlwOLYo4HyhueT9tTu36Lfog==" cmdOFF="AAAAKtDygfiL/5r31e+UtsWg1Iv5nPCR6LfEsNGlwOLYo4HyhueT9tTu3qPeow==" case $1 in on) echo -n "$cmdON" | base64 -d | nc sg104 9999 ;; off) echo -n "$cmdOFF" | base64 -d | nc ...
by liderbug
Saturday 24 November 2018 14:39
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: RPM package for fedora crashed after starting
Replies: 1
Views: 427

Re: RPM package for fedora crashed after starting

Same problem. I'm trying to track down the contributor that make the package. From what I can tell it's a Python problem.
by liderbug
Friday 23 November 2018 22:14
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Fedora requirements
Replies: 2
Views: 1147

Re: Fedora requirements

I'm having the same problem. It started with a new load of FC29 and dnf install domoticz. When I start dom I get a python err and it quits. Seems the src is all Ubuntu.

:cry:
by liderbug
Sunday 12 February 2017 18:38
Forum: Other questions and discussions
Topic: Intermatic Inc. zwave HA22 USB stick
Replies: 0
Views: 409

Intermatic Inc. zwave HA22 USB stick

I have a Intermatic Inc. HA22 USB stick. Doesn't seem to be in the list of devices. How would I go about getting Dom to see/use it? (other than a lot of whinning...).
Thanks
by liderbug
Thursday 02 February 2017 21:12
Forum: Suggestions
Topic: cURL inputs
Replies: 4
Views: 1576

Re: cURL inputs

OK, thanks for the response. From your responses I've worked out a soultion: /domoticz $ MyOnOff Patio On [MyOnOff] #!/bin/bash id=`echo "select id from DeviceStatus where name = '$1';" | sqlite3 domoticz.db ` /usr/bin/curl "http://sg53:8080/json.htm?type=command&param=switchlight&idx=$id&switchcmd ...
by liderbug
Thursday 02 February 2017 2:25
Forum: Suggestions
Topic: cURL inputs
Replies: 4
Views: 1576

cURL inputs

When, from a external script (php/bash/etc) doing a:
curl ... 'http://sg53:8080/json.htm?type=command& ... tchcmd=Off'
allow idx to be replaced with name or hw or id.unit.

Would allow for the command to read param=switchlight&Name=Porch&....

tks
by liderbug
Thursday 02 February 2017 2:19
Forum: Other questions and discussions
Topic: cURL(ing) using Name vs IDX
Replies: 3
Views: 947

Re: cURL(ing) using Name vs IDX

Ya, I see what you're doing in your script. I could do the same thing, sans jq (I'm not a json kind of guy), with a bash or php script. Kind of not the point though. Would be nice/cleaner if the internal dom code would accept "idx=" or "name=" or whatever. I'm assuming the internal code uses the ...
by liderbug
Wednesday 01 February 2017 15:58
Forum: LUA
Topic: lua error 512
Replies: 7
Views: 2586

Re: lua error 512

Still, don't think anything will ever end up to Domoticz log when the script is triggered like this and you only have the "print('Some text')" -type of command there.. Thing is this: script_time_demo.lua:print('this will end up in the domoticz log') would lead one to believe that it just might put ...
by liderbug
Wednesday 01 February 2017 15:52
Forum: Other questions and discussions
Topic: cURL(ing) using Name vs IDX
Replies: 3
Views: 947

cURL(ing) using Name vs IDX

I use:
http://sg53:8080/json.htm?type=command& ... itchcmd=On"
in place of "idx=" I would like to use "name=frontdoor" = ERR. I hope I'm just spelling 'name' wrong. If not, -> Suggestion Box

Thanks
by liderbug
Sunday 29 January 2017 17:30
Forum: PHP and all others
Topic: On/Off action php
Replies: 5
Views: 3681

Re: On/Off action php

I was going to post my experience under General but this seems to be a better location. My inventory: X10 PR511 Dual Floodlight Motion Detector several X10 switches and outlets, CM15a several Z-Wave switches/outlets I wanted the configuration: Someone/us/ups/fedex pulls into the driveway, motion ...
by liderbug
Thursday 26 January 2017 15:22
Forum: LUA
Topic: lua error 512
Replies: 7
Views: 2586

Re: lua error 512

Well I have it working but I have to believe there is a code problem bucause: -- comment print("this will end up in the domoticz log") commandArray = {} return commandArray logs: Executing script: /home/cal/domoticz/scripts/lua/night.lua 2017-01-26 06:49:58.883 Error: Error executing script command ...
by liderbug
Thursday 26 January 2017 3:35
Forum: LUA
Topic: lua error 512
Replies: 7
Views: 2586

Re: lua error 512

I had tried the "/"x3 before. With "/ / /" my logs say I turned the light on but the "print" line in the lua script doesn't show up - no error, no message. If I use only 2 slashes I get: "Error executing script command (/home/cal/domoticz/scripts/night.lua). returned: 512" in the logs. The thing is ...
by liderbug
Wednesday 25 January 2017 16:04
Forum: LUA
Topic: lua error 512
Replies: 7
Views: 2586

lua error 512

OK, I give up. I need help. Google has been less than helpful. I have Dom running and now I want to create a LUA script that says: if (nighttime) continue else return. So I added "script://lua/night.lua" (using a cut down example) to just 1 line: print("this will end up in the domoticz log"). What I ...
by liderbug
Monday 16 January 2017 2:32
Forum: Other questions and discussions
Topic: Dark Sky - my location
Replies: 2
Views: 2594

Dark Sky - my location

When I bring up Weather->Forecast it puts me 30+ miles south and 1000' lower in elevation. I can enter my address and life is good. Then I go away, eat, store, sleep and when I come back and open Domoticz and -> Forecast I'm back 30+ miles away - again. Is there any way to cache my location? Thanks ...
by liderbug
Sunday 15 January 2017 2:32
Forum: Other questions and discussions
Topic: ZWave switch(s) not being detected
Replies: 1
Views: 508

Re: ZWave switch(s) not being detected (SOLVED)

There is a SciFi short story about Slow Glass. My story is Slow Memory (mine). My Aeon "S2" stick requires I go walk about with it, be within, say 6", of the device and press the button on the stick - (flash... flash... flash...) then turn the light on. The circle on the stick comes on, flashes then ...
by liderbug
Thursday 12 January 2017 3:03
Forum: Other questions and discussions
Topic: ZWave switch(s) not being detected
Replies: 1
Views: 508

ZWave switch(s) not being detected

Maybe I'm just tired. Today I install a GE zw3002 & zw2001 and it/they work - push the button and lightsOn/lightsOff. Also installed a GE 12722 and it works OK also. I had expected to be able to turn them on/off and have Domoticz pick them up and register under Devices. Nope. Restart Domoticz - nope ...