As far as I can see, I’ve followed @JPe4619 's logic so far. Yes, I’ve added the “round” function that @JPe4619 mentioned in another post here. I get the same results, just without decimals, when using the “round” function.
@RoyWissenburg, did you spot the thing I did wrong? I added the pre-created “Average” variable, multiplied by a number (5), added the CO2-level, and divided by a number (6) that’s higher than the number I multiplied it with.
Ah! I see. I didn’t realise that it had to adjust over time. Thank you for being so patient and helping me out. I hope that other people who struggle with this finds this.
Seems Netatmo is working on the API for the doorbell and even it’s not documented yet, some developer already made Habitat implementation including Doorbell…
// Doorbell
if (payload?.push_type?.startsWith('NDB')) {
String doorbellID = payload?.device_id
ChildDeviceWrapper cd_doorbel = cd_devices?.find { it.deviceNetworkId == doorbellID }
if (!cd_doorbel) {
logger("warn", "webhook() - Local Doorbell: ${doorbellID} (${payload?.home_id}) not found")
}
// Workaround until they fix the API - https://forum.netatmo.com/viewtopic.php?f=5&t=18880
switch( payload?.message ) {
case ~/.*Incoming call.* .*Appel entrant.*/:
if(logDescText) {
log.info "${app.name} ${cd_doorbel} Call/Ring: Incoming"
} else {
logger("info", "${cd_doorbel} Call/Ring: Incoming")
}
cd_doorbel?.ring('incoming')
break
case ~/.*Someone picked up.* .*Quelqu’un a accepté l’appel.*/:
if(logDescText) {
log.info "${app.name} ${cd_doorbel} Call/Ring: Accepted"
} else {
logger("info", "${cd_doorbel} Call/Ring: Accepted")
}
cd_doorbel?.ring('accepted')
break
default:
logger("warn", "webhook() - event_type: ${payload} - Unhandled by ${cd_doorbel}")
break
}
You need experimental version - v5 - if you are not aware of all the risk, please wait for official update then.
Btw tested in the morning and it’s working - but only 1st Doorbell button press, when “call” is active, no signal is sent… but even the 1st one is more then enough
i don’t know if this is already asked.
but I have a Netatmo thermostat and when it comes on to switch on the boiler, I want to run an hourglass and that it stops when the boiler goes out. is that possible of something for the next version ?
Beware - recently I discovered that all my Netatmo Weather station, Anenometer, Rain Gauge got updated values 1 month ago - I was wondering why some flows were not working - luckily Repair function simply helps but it’s a pity there isn’t any safety mechanism which would somehow eg. mark device longer time not updating (I know there is trigger A device hasn’t reported, so maybe I will put that instead).
Yup, for the first time since I have Homey with Netatmo (3.5years now) I had the same this week, no reporting although Netatmo was OK. For 10 hours and my bathroom fan was going nuts since humidity was not right.
App restart did not fix, PTP Homey did fix.
Homey finds my Netatmo doorbell, but when i try to open it i’ve got an error (see pic)
I can make a flow, but that also does nothing.
(I know it is a beta, but any clue maybe ? )