Smart Air Conditioning System - MyAir by Advantage Air

Still didn't get it working though. I was hoping i'd be able to just select the siren button and it would go off and then hit again to turn off but it does nothing. Any ideas? if it's easier to leave it as a switch I can which is what I was doing anyways.

I'll need access to your hub if that's possible via a apache/nginx reverse proxy ?

1 Like

OK no worries. I will just wait until I have moved into the new place then it's really close now anyways. That way you can access it for the Shelly and the Aircon system. I also need to call my ISP anyways and approve them to open ports that they are blocking.

I'm thinking it needs the captiblity "switch" also and def on() def off()

I tried that too and a few other things and still getting errors in logs. I'll definitely give you access in the coming weeks so we can sort it out worst case it remains a switch which still works fine as you can set in HSM anyways.

Ok.... The groovy logic can mess you up also. Trust me I have banged my head more then once !!

1 Like

I have been re-writing how wifi signal is produced in my shelly code for the last hour --- boy what a head spinner... I got it though.

/*
-30 dBm	Excellent | -67 dBm	Good | -70 dBm	Poor | -80 dBm	Weak | -90 dBm	Dead
*/
        signal = state.rssi
        if (signal <= 0 && signal >= -70) {
            sendEvent(name:  "WiFiSignal", value: "Excellent", isStateChange: true);
        } else
        if (signal < -70 && signal >= -80) {
            sendEvent(name:  "WiFiSignal", value: "Good", isStateChange: true);
        } else
        if (signal < -80 && signal >= -90) {
            sendEvent(name: "WiFiSignal", value: "Poor", isStateChange: true);
        } else 
        if (signal < -90 && signal >= -100) {
            sendEvent(name: "WiFiSignal", value: "Weak", isStateChange: true);
        }
1 Like

Yes coding definitely messes with my head haha. That wifi code I understand a bit but writing it is a whole other thing :stuck_out_tongue:

btw, do you know if the Shelly 2.5 can do servo motors? I'd like to automate a DC motor that requires you to switch the polarity for forward and reverse. I believe this is how it operates the shades / blinds etc so thinking it would.

Someone posted on the FB group about that. I think yes but I would do a search on the FB support group.

1 Like

Oh you are right! I will definitely reach out to that guy and see what he has to say.

1 Like

I'm really surprised how much my fat head retains useless info sometimes LOL

1 Like

bahaha.

It appears from reading though that I was probably on the right track by using an Ardunio so that might be easier and just use ST_Anything HubDuino. I can actually use a Shelly 1 switched to 12v but I can only close the valve. Truth be told though that's not terrible either as I had planned to use it as a break glass sensor which is what it is e.g. turn off water to house when flooding is detected in zone. It then has a manual clutch you can physically pull on the device to reset it.

1 Like

I think someone ported this already.

Yeah that's what I mean't but find a sketch and library from it to suit. The other route is I actually buy the WiFi version of the water valve and maybe just maybe you could write a driver? or I pull it apart and flash the ESP8266 as it probably has one :stuck_out_tongue:

Get the Dome Water valve shutoff.. that's what i use. I don't know if that's in Oz though but I love it.

Gezz that's almost the save thing although it's $165 Australian and z-wave which I have none of. I might try and get the one I have already working with HubDuino first because if I did it would cost me about $25 plus the fun of learning servo's a bit. I could always fall back to that WiFi one and flash it with Tasmota as I am about 90% sure I could.

1 Like

Oz zwave is not the same as US/NA zwave

The biggest draw back is that one issue with OZ/NZ -- they seem to have home automation specs written by some broke down tasmanian devil asshat.

I got a friend in Perth who uses US zigbee/zwave HE hub so he can use US toys LOL

1 Like

Exactly and I need to buy Oz zwave as I have an Australia version Hub so its sitting on our frequency. Honestly that's why I have avoided zwave devices all together and just stuck to Zigbee and Wifi.

1 Like

He uses hub connect to control those devices. It does work and maybe something to think about.

1 Like

Ok off for dinner and feed the 4 legged children. Back in a hour or so.

1 Like