Search found 247 matches

by elmortero
Tuesday 22 August 2023 14:00
Forum: Speech & Voice Systems
Topic: Controlicz - Domoticz to Google Home/Assistant integration
Replies: 2277
Views: 510449

Re: Controlicz - Domoticz to Google Home/Assistant integration

it should be fine - either PM me here or via the support page of Controlicz and i'll get it working :) Hi Madgeni Tried to send you a PM but seems to get stuck in my outbox and cannot find Controlicz support page Since yesterday integration with Alexa stopped working and when trying to login to ...
by elmortero
Tuesday 08 November 2022 19:26
Forum: Zigbee
Topic: How to install Conbee II on Domoticz?
Replies: 8
Views: 10728

Re: How to install Conbee II on Domoticz?

BarryT wrote: Tuesday 21 July 2020 14:35 and after install i did

Code: Select all

sudo systemctl enable deconz
That is the one that fixed for me too! Doesn't seem to be in the manual :)
by elmortero
Saturday 29 October 2022 21:34
Forum: Examples & Solutions
Topic: Script to display next F1 Race
Replies: 36
Views: 10453

Re: Script to display next F1 Race

Hi Looks like you missed some end to close the if loops (@lines 54, 164 and 165) and a closing } at the end of the script. I haven't tried but this should fix it (moved the script to Python now) return { on = { timer = { 'every 20 minutes' }, httpResponses = { 'nextF1', 'qualyF1' } -- matches ...
by elmortero
Friday 05 June 2020 16:26
Forum: Third party and supplementary tools
Topic: Covid19 threat indicator
Replies: 22
Views: 3370

Re: Covid19 threat indicator

Please be aware that the domain covid-19calculator.com has been blacklisted by various security websites, among them us-cert.cov, managedsentinel.com
by elmortero
Wednesday 27 May 2020 21:00
Forum: Suggestions
Topic: aWattar integration
Replies: 17
Views: 2354

Re: aWattar integration

Hi, this is what I came up with. I am putting comments outside of the code to keep it clean. The time to run the script is set to 23:55 - in fact any time between 23:01 and 23:59 should be ok - so that it does not mess with schedules. If you should run it for example at 0:01 and the cheapest time is ...
by elmortero
Wednesday 27 May 2020 16:53
Forum: Suggestions
Topic: aWattar integration
Replies: 17
Views: 2354

Re: aWattar integration

So basically you want: You have a switch to start charging the car Read the content of https://api.awattar.de/v1/marketdata which returns a json From that json, find the time where the price is the lowest (in current data I don't see negative values, but anyways, the lowest Then with that time ...
by elmortero
Monday 25 May 2020 16:18
Forum: Suggestions
Topic: aWattar integration
Replies: 17
Views: 2354

Re: aWattar integration

Depends on how you would want to use it, but following dzvents script will fetch the value for now+24h If what you want is to get it for the next x hours, some adaptations will be needed. return { on = { timer = { 'every hour'}, httpResponses = { 'aWATTar' } -- matches callback string below ...
by elmortero
Friday 22 May 2020 11:30
Forum: dzVents
Topic: Remove outlier from Historical variables [Solved]
Replies: 4
Views: 1772

Re: Remove outlier from Historical variables [Solved]

You are right! I failed to see the reasoning at first, because it is not always the newest reading. But I realised that it does not matter, as you method takes only the lower value. Only thing against it that I can find now is that worst case scenario - as I only use a history of 3 values - is that ...
by elmortero
Friday 22 May 2020 10:35
Forum: dzVents
Topic: Remove outlier from Historical variables [Solved]
Replies: 4
Views: 1772

Re: Remove outlier from Historical variables [Solved]

Would this line also work for you? local clean_usage = WaReadings.min(1,2) -- takes the lowest value of the last two readings = ignoring the spike Hey, Thing is, we don't know if the spike is the 1st reading, do we? That is if I understand correctly that the data is indexed by time. Now, if there ...
by elmortero
Thursday 21 May 2020 21:31
Forum: dzVents
Topic: Remove outlier from Historical variables [Solved]
Replies: 4
Views: 1772

Remove outlier from Historical variables [Solved]

Hi, I noticed strange behaviour from "is my xxx finished" scripts, being receiving notifications that the dishwasher is done while I didn't start the machine. I know my house is not yet that smart to go and decide that on its own :D Some quick investigation showed that this was caused by strange ...
by elmortero
Saturday 02 May 2020 13:22
Forum: dzVents
Topic: Syntax [Solved]
Replies: 10
Views: 2545

Re: Syntax [Solved]

jkimmel wrote: Saturday 02 May 2020 12:40 What about declaring devices, like

Code: Select all

devices =
        {
            SETPOINT_DEVICE,
            TEMPERATURE_SENSOR
            }
not needed anymore?
Hi, you don't declare devices here, these are the devices that will trigger the script.
by elmortero
Thursday 30 April 2020 20:17
Forum: Other questions and discussions
Topic: PCA9685
Replies: 10
Views: 1180

Re: PCA9685

Sorry, can't help you there. DOn't have the boards myself.
I had a quick look at the manual, looks like with no previous experience (and google of course) should be possible to figure it out.
Might have to spend some time on it.
Good luck
by elmortero
Wednesday 29 April 2020 12:14
Forum: Examples & Solutions
Topic: Script to display next F1 Race
Replies: 36
Views: 10453

Re: Script to display next F1 Race

Hi, I hadn't noticed actually since there are no GPs in the near future :-P I think - but no time to check now - that it has to do with the upgrade to LUA 5.3 It is strange that by removing the offset you get the correct time as it is in UTC. Quick (and dirty) fix for now: Change this line: local ...
by elmortero
Tuesday 21 April 2020 11:37
Forum: Other questions and discussions
Topic: PCA9685
Replies: 10
Views: 1180

Re: PCA9685

You could use the python module for that https://github.com/adafruit/Adafruit_Ci ... on_PCA9685

And then setup like this.

PCA9685 <--> python <--> domoticz
by elmortero
Sunday 19 April 2020 15:49
Forum: Python
Topic: Script to check for Supermarket delivery slots?
Replies: 2
Views: 691

Re: Script to check for Supermarket delivery slots?

Shortest answer: maybe. Bit longer one: you will need to provide quite some more info: what supermarket (+link to it)? for the supermarket(s), link to the available slots. Does one have to be logged in before seeing the slots If so, how does one authenticate? Once you provide this info, we could ...
by elmortero
Wednesday 25 March 2020 16:22
Forum: Suggestions
Topic: CORONAVIRUS
Replies: 19
Views: 2422

Re: CORONAVIRUS

My mistake guys.
Counter icons cannot be changed.
I used custom sensor and not a counter in my setup
by elmortero
Wednesday 25 March 2020 13:49
Forum: Suggestions
Topic: CORONAVIRUS
Replies: 19
Views: 2422

Re: CORONAVIRUS

Tell me how to set a notification to Telegram If the number of infected increases by at least 1 then send a message I have set: Last update Greater Value (I don't know what to insert here) try this one (adapt your settings to your needs) return { -- Function: -- -- This script retrieves static data ...
by elmortero
Monday 23 March 2020 15:29
Forum: Suggestions
Topic: CORONAVIRUS
Replies: 19
Views: 2422

Re: CORONAVIRUS

First go to Setup--Custom Icon -menu to upload the zip files with the icons
Then click on the Edit button of your counter in order to select a sensor icon
by elmortero
Sunday 22 March 2020 21:55
Forum: Suggestions
Topic: CORONAVIRUS
Replies: 19
Views: 2422

Re: CORONAVIRUS

HI.

I made 2 custom icons for the counters.
One represents the corona virus, the other one is for the number of deaths counter

https://www.domoticz.com/forum/viewtopi ... 33#p240233
by elmortero
Sunday 22 March 2020 21:53
Forum: Design, usability and languages
Topic: #2215 Custom Icons uploader Implemented
Replies: 110
Views: 76121

Re: #2215 Custom Icons uploader Implemented

Hi all.

I made Icons for Covid-19 counters:

Corona virus (covid19.zip), an icon of said virus
Fatal (Fatal.zip), an icon of a covered corpse on a gurney, for the fatalities counter