Search found 20 matches

by timmpo
Sunday 03 August 2025 13:52
Forum: Bugs and Problems
Topic: Bug in RFLink TCP/LAN interface
Replies: 5
Views: 399

Re: Bug in RFLink TCP/LAN interface

No crash yet... I think this is to small of a thing to do a PR. In RFLink.TCP line 92 i added a delay (5 sec.. I was quite generous): if ((m_bDoRestart) && (sec_counter % 30 == 0)) { Log(LOG_STATUS, "Trying to connect to %s:%d", m_szIPAddress.c_str(), m_usIPPort); disconnect(); std::this_thread ...
by timmpo
Saturday 02 August 2025 11:11
Forum: Bugs and Problems
Topic: Bug in RFLink TCP/LAN interface
Replies: 5
Views: 399

Re: Bug in RFLink TCP/LAN interface

Yes, to get the" Error: ASyncTCP: connect called while socket is still open. !!!" i think, but to get domoticz to crash i havent tested the pull plug method. This thread illustrate the problem https://forum.domoticz.com/viewtopic.php?f=49&t=33272 This is my first 24 our without a crash in 2025.1 ...
by timmpo
Friday 01 August 2025 18:56
Forum: Bugs and Problems
Topic: Bug in RFLink TCP/LAN interface
Replies: 5
Views: 399

Bug in RFLink TCP/LAN interface

Patform: Linux HW: RFLink When using RFLink with lan interface and when the connection is unstable/timeout, RFLinkTCP automatically reconnect before socket are closed in ASyncTCP and in previous version of domoticz only a error occurred in the logs (Error: ASyncTCP: connect called while socket is ...
by timmpo
Thursday 31 July 2025 0:14
Forum: RFLink Transceiver
Topic: RFLink + Wi-Fi
Replies: 16
Views: 7887

Re: RFLink + Wi-Fi

i have use 2 rflink gateways in many years now and with latest domoticz one of them always stop responding to domoticz. Sometimes domoticz crash, and i also suspect it related to the rflink device.. 2025-07-26 01:44:47.968 [7f90d97fa6c0] Status: 433mhz Gateway 2 Entre: Trying to connect to 192.168.1 ...
by timmpo
Tuesday 29 July 2025 19:40
Forum: Other questions and discussions
Topic: Run script when client connect
Replies: 3
Views: 567

Re: Run script when client connect

Yes exactly, a script running once logging in. The lawn mover api provider shut me down when my calls are to often and the dont provide any max number of calls in any documentation. When I connect to the car's API, all electronics wake up from sleep mode and drain the 12V battery if I do it too ...
by timmpo
Tuesday 29 July 2025 9:30
Forum: Other questions and discussions
Topic: Run script when client connect
Replies: 3
Views: 567

Run script when client connect

Is there a way to detect if client connected to domoticz web server ?
I need to run a script only when browser/user are connect to domoticz for saving api calls (my car, and lawn mower).
by timmpo
Friday 07 October 2022 17:25
Forum: Suggestions
Topic: Visual notification/alerts
Replies: 1
Views: 319

Visual notification/alerts

I miss some Visual notification/alerts function in domoticz, a simple popup to warn when something goes wrong that we can use in our scripts and so on.
Cheers :)
by timmpo
Thursday 06 October 2022 15:37
Forum: Python
Topic: Input device
Replies: 5
Views: 771

Re: Input device

I ended up with this
viewtopic.php?p=293175#p293175
by timmpo
Thursday 06 October 2022 14:17
Forum: LUA
Topic: Script examples (Lua)
Replies: 139
Views: 173480

Re: Script examples (Lua)

Domoticz input device! I needed a device to store settings and other information. The device creates a uservariable and saves input information witch you can use in other scripts outside and inside domoticz. The text box is set to only accept numbers if strings neded you have to change "number" to ...
by timmpo
Thursday 29 September 2022 18:03
Forum: Utility
Topic: Thermostat resolution
Replies: 6
Views: 5924

Re: Thermostat resolution

I found it in domoticz/www/js/domoticz.js tanx anyway! function SetpointUp() { var curValue = parseFloat($('#setpoint_popup #popup_setpoint').val()); curValue += 0.1; //curValue = Math.round(curValue / 0.1) * 0.1; var curValueStr = curValue.toFixed(1); $('#setpoint_popup #popup_setpoint').val ...
by timmpo
Saturday 24 September 2022 19:57
Forum: Utility
Topic: Thermostat resolution
Replies: 6
Views: 5924

Thermostat resolution

Is there any way to get virtual thermostat resolution from 0.5 to 0.1 ?
by timmpo
Saturday 30 July 2022 2:28
Forum: Blockly
Topic: Blocky bug ?
Replies: 0
Views: 2412

Blocky bug ?

I have a small blocky for my gate lights. This script is meant to turn lights on when motion sensor is triggered after sunset and before sunrise, that works fine but after 00:00 when motion triggers it turn on "Entrebelysning" but never turn it off again, before 00:00 it works fine... Tested Version ...
by timmpo
Tuesday 21 September 2021 16:28
Forum: Python
Topic: Python Plugin: MoonPhases
Replies: 57
Views: 12297

Re: Python Plugin: MoonPhases

I changed some line in the plugin to work without the need of an online API, you can even run it offline. It uses the pylunar library instead. I have only put an hour in this so some bugs are expected :) Install libary: pip3 install pylunar Find your cordinates https://www.countrycoordinate.com ...
by timmpo
Friday 10 September 2021 14:55
Forum: Bash / PowerShell / Batch etc.
Topic: Monitor openwrt router internet traffic with Domoticz
Replies: 0
Views: 3204

Monitor openwrt router internet traffic with Domoticz

Example how to monitor traffic and other stats If you have root access to your router. domoticz.sh #!/bin/sh # Setup: # Put domoticz.sh in usr/bin and make it executable: chmod 777 domoticz.sh # put zomotcz in /etc/init.d/ # Run command /etc/init.d/zomoticz enable # Manual start: /etc/init.d ...
by timmpo
Sunday 27 December 2020 13:50
Forum: Suggestions
Topic: Floorplan dropdown menu
Replies: 0
Views: 388

Floorplan dropdown menu

Many of us use the floorplan for players, boilers and so on. It wold be nice to have some sort of menu for it. The dots work fine but some sort of dropdown menu to separate the rooms from other stuff. And then maby even change the name for it :) Floorplan --Rooms -----Basement -----Basefloor ...
by timmpo
Thursday 23 April 2020 23:02
Forum: Other questions and discussions
Topic: Adding Worx Landroid
Replies: 4
Views: 4029

Re: Adding Worx Landroid

i tested the information on that site and found it working, i rewrite some code.. This make 2 files with json data with all usefull info aboute your landroid (second file hold the most usefull information). make sure you give the script rights to create files. (sudo chmod 777 filename.sh) edit user ...
by timmpo
Friday 27 December 2019 19:40
Forum: Python
Topic: Script -Error - Returned: 256
Replies: 17
Views: 16974

Re: Script -Error - Returned: 256

old thread but ... When one of this problem hit me, was it because my python library environment path not was set when run from root/sudo domoticz run python scripts with sudo/root environment path's Stop Domoticz service: sudo /etc/init.d/domoticz.sh stop Run Domoticz direct from terminal: ./home ...
by timmpo
Wednesday 25 September 2019 20:52
Forum: Cameras
Topic: Demo / example URL to add please?
Replies: 5
Views: 2597

Re: Demo / example URL to add please?

A long shot... i remember when i test IP CENTCOM webcam software, it have some example cameras added in from a random golf course (live stream)
right click then edit and you dhould find a adress to test with but it was a long time ago i tested that software.
https://www.ipcent.com/
by timmpo
Wednesday 14 August 2019 21:37
Forum: PHP and all others
Topic: Ping script / Alive check
Replies: 1
Views: 3418

Ping script / Alive check

I have trouble with system alive checker so i wrote a little shell script... A script for alive system check that post json to Domoticz dummy switch. No need for edit crontab Make some dummy switch in Domoticz Edit the settings in the script Save script file in /home/pi/domoticz/scripts Give the ...
by timmpo
Sunday 24 February 2019 10:36
Forum: Utility
Topic: Line break in Text device
Replies: 0
Views: 1305

Line break in Text device

Hello!
Is there a way to make line breaks in dummy text device in domoticz floorplan view ?
In Utility its works with <p>Text</p><p>New line</p> but in Floorplan view it dont.
Any ideas ? :)