Search found 69 matches

by Michel13
Monday 26 May 2025 19:22
Forum: Bash / PowerShell / Batch etc.
Topic: Script to backup to a Synology NAS
Replies: 21
Views: 8676

Re: Script to backup to a Synology NAS

Hello, I have setup a FTP daily backup and a cleanup of the older files on my Synology NAS based on the wiki : https://wiki.domoticz.com/Daily_backup_to_external_hdd First I have created in the NAS a dedicated user for this task with only the right to use the FTP and with an access limited to the ...
by Michel13
Friday 23 May 2025 22:13
Forum: LUA
Topic: How to create a delay in a contact's On/Off sequence
Replies: 7
Views: 581

Re: How to create a delay in a contact's On/Off sequence

Thanks psubiaco
My script is called every 15 minutes and time of operation of the chlorinator (2 hours) is managed properly elsewhere in the script. So it was only the question of supplying the unit on and off which was my only problem. Now it is solved thanks to you.
by Michel13
Friday 23 May 2025 21:10
Forum: LUA
Topic: How to create a delay in a contact's On/Off sequence
Replies: 7
Views: 581

Re: How to create a delay in a contact's On/Off sequence

you don't need to turn off than on for 10 seconds, Ok, I understand. At first, the power supply of the unit is Off (control device is On). I need to turn it Off to supply the chlorinator. At the next call (2 hours later), control device is Off and I need to turn it On for 10 sec to initiate and ...
by Michel13
Friday 23 May 2025 18:58
Forum: LUA
Topic: How to create a delay in a contact's On/Off sequence
Replies: 7
Views: 581

Re: How to create a delay in a contact's On/Off sequence

Thank you psubiaco, so simple !
Just one question : if the contact is "On" before the sequence, is this command will do the same or is it necessary to turn it off before ?
by Michel13
Friday 23 May 2025 18:40
Forum: LUA
Topic: How to create a delay in a contact's On/Off sequence
Replies: 7
Views: 581

How to create a delay in a contact's On/Off sequence

Hello, I wrote a Lua script that allows me to control my pool's chlorinator. Without going into details that are irrelevant here, I need to cut off its power for 10 seconds to reset it. The device that controls the power is "On" when the power is off, and "Off" to power the chlorinator. I would like ...
by Michel13
Thursday 20 February 2025 14:26
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Re: Error in the logs when sending SMS

The sms operator should supply a 200 feedback in order for Domoticz not to give an error. Well, this is wishful thinking. The truth is that the operator is probably the only one in France to offer this service for free with its package. As long as it works, he will do nothing. And for my part, I am ...
by Michel13
Wednesday 19 February 2025 12:44
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Re: Error in the logs when sending SMS

Is it an official described API or is it build up by some script? It is an official API. Moreover, the URL is a direct copy of the one given by my operator in my account which include the account number and the pass. The only difference is of course the text of the message where all spaces must be ...
by Michel13
Tuesday 18 February 2025 18:51
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Re: Error in the logs when sending SMS

Can you show the script? return { on = { devices = {15}, httpResponses = { 'Sending SMS' } }, execute = function(domoticz, device) local MotionSensor = domoticz.devices(15) -- variable of the device if (MotionSensor.lastUpdate.secondsAgo > 2) then if (MotionSensor.state == 'On') then domoticz ...
by Michel13
Tuesday 18 February 2025 18:43
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Re: Error in the logs when sending SMS

OK @waltervl, but if it was the case, delivery of the SMS should fail.
If an error in the format, the same URL would give an error in my browser. As well, if the certificate of my operator was not good, an error would be reported in my browser.
So, I don't understand why this error in the log.
by Michel13
Tuesday 18 February 2025 18:16
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Re: Error in the logs when sending SMS

@habahabahaba Yes, all of them. Just for testing purpose, I have reactivated an old script in DzVents and here is the log: 2025-02-18 17:50:06.244 Error: Error opening url: https://smsapi.myoperator/sendmsg?user=<MyUserNumber>&pass=<MyPass>&msg=My%20test%message 2025-02-18 17:50:06.273 dzVents ...
by Michel13
Tuesday 18 February 2025 17:06
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Re: Error in the logs when sending SMS

Hello @waltervl As I indicated in my first message, this error appears regardless of the origin in Domoticz: action on/off, blocky script, DzVents, Lua. curl -k https://smsapi.myoperator/sendmsg?user=<MyUserNumber>&pass=<MyPass>&msg=The%20text%20of%20my%20message gives : [1] 3769 [2] 3770 and curl ...
by Michel13
Tuesday 18 February 2025 11:24
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Re: Error in the logs when sending SMS

Thanks @FlyingDomotic

This is probably a subject to be reported in the bug section I guess.

I don't know if it is possible for an admin or moderator to move this discussion to this section.
This would avoid creating a duplicate topic.
by Michel13
Monday 17 February 2025 10:30
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Re: Error in the logs when sending SMS

@FlyingDomotic No error code in the browser. As I said, SMS is send without any message of any sort. All is working like a charm. The URL is in this form : "https://smsapi.myoperator/sendmsg?user=<MyUserNumber>&pass=<MyPass>&msg=The%20text%20of%20my%20message" (as the URL is truncated, the real ...
by Michel13
Monday 17 February 2025 0:14
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Re: Error in the logs when sending SMS

Thanks @Flying Domotic What does return the command when you copy/paste it into a browser? Nothing special. The SMS is send and received, that's all. In the html type the following resources are used : load resource:///modules/FaviconLoader.sys.mjs:175:20 load resource:///modules/FaviconLoader.sys ...
by Michel13
Sunday 16 February 2025 18:02
Forum: Blockly
Topic: Blockly scripts display distorted
Replies: 25
Views: 23812

Re: Blockly scripts display distorted

Hello, Same thing here. This is quite annoying because blocky become unreadable. As suggested, I have reloaded the blocky without success. I have open the Browser development tool and I find some lines with "require.min.js:5" under JS menu. I don't know what it means. Domoticz is running on a Rasp ...
by Michel13
Sunday 16 February 2025 16:09
Forum: Other questions and discussions
Topic: Error in the logs when sending SMS
Replies: 18
Views: 2716

Error in the logs when sending SMS

Hello, I have an error message every time I send an SMS that appears in the logs: Error: Error opening url: https://myurl,mymessage And yet the SMS arrives on my smartphone which excludes a problem with the URL. I use it without any problem both on "action on" and "action off" of devices and in ...
by Michel13
Tuesday 28 January 2025 15:27
Forum: Other questions and discussions
Topic: How to setup an hourmeter ?
Replies: 3
Views: 398

Re: How to setup an hourmeter ?

Thank you waltervl for your positive reply.
It looks like exactly what I am searching.
by Michel13
Tuesday 28 January 2025 15:20
Forum: Temperature and Weather
Topic: Visual Crossing Weather as replacement of Darksky (obsolete)
Replies: 27
Views: 4203

Re: Visual Crossing Weather as replacement of Darksky (obsolete)

Hello, I answer myself: The data is not directly accessible by sensors. My aim was to retrieve the minimum and maximum forecast temperatures but the same following process can be applied to other data delivered via the API. I created two virtual devices for temperature readings and added the ...
by Michel13
Saturday 25 January 2025 13:08
Forum: Other questions and discussions
Topic: How to setup an hourmeter ?
Replies: 3
Views: 398

How to setup an hourmeter ?

Hello everyone, I have been struggling for a few days to set up an hour meter on the closing of a contact. I have not found on the forum or elsewhere how to implement this function which seems quite simple at the start. I have tried by creating several types of virtual counters but none seems ...
by Michel13
Wednesday 22 January 2025 15:16
Forum: Temperature and Weather
Topic: Visual Crossing Weather as replacement of Darksky (obsolete)
Replies: 27
Views: 4203

Re: Visual Crossing Weather as replacement of Darksky (obsolete)

Hello, I just created an account at visual crossing to retrieve weather information in domoticz. I created the hardware and I have the data that was added to the devices. Fine. However, I am mainly looking to get the forecasts and in particular the maximum temperature forecast for the day and ...