Wipro Garnet Smart Light

Which oakter device specifically?
I had used their hub based plugs several years ago when they had just come out and they use a closed API… not sure if that has changed

If you are talking about their IR blaster then that’s a generic ESP8266 IR blaster that you can flash any custom FW on (I use tasmota ir)

The camera, plugs including switchboard switches. All but the camera interface with the hub.

Are you talking about this IR blaster? I’ll gladly purchase it if it means I can control ACs. Do you have guides on flashing the custom firmware?

Unless they changed something, you are SOL.
I tried sniffing the packets in and out of the hub on wireshark but it all seemed too obfuscated and not worth the effort
switched over to esp8266 based sonoffs and bulbs and flashed them to Tasmota.

And yes, that’s the ir blaster I am talking about.
Flashing it is pretty easy but you do need to open it up and solder 4 wires on to the board.
Once you’ve done that, you can follow the handy guide on the tasmota github…
It does work extremely well and configured aircons show up as a proper hvac thermostat on HA as well as homekit

On a side note, for switches and plugs ( or light bulbs) , you are much better off with esp8266 devices than tasmota.
Also look up Tuya-convert on github if soldering is not your thing

1 Like

Thanks for the info. Do you know if the camera can be used with Home Assistant?

Do you want snapshots or video?
Both can be done although former generally preferable to keep the latter for faster rendering.

I just finished uploading my config details on github.
Hopefully this should help:

1 Like

Both?

Thank you. A lot of useful details here. Are all of these set up here in India?

rtsp works for video but the UX is far from perfect - i encountered more latency than what i get on a dedicated camera app
That’s why I switched over to static (not really static, images do refresh every few seconds) cards on lovelace for each area/room .

And yes, this is setup in Pune

Do you know what the RTSP URL for snapshots or the video is?

Which Camera specifically? All cams manufacturers have their own custom URLs
A pretty good source to look it up is here:

https://www.ispyconnect.com/sources.aspx

Oh I thought you knew the source for Oakter cameras :sweat_smile:

Already checked that, didn’t find anything :frowning:

Apparently they use UDP for live streaming, that’s probably a first.

Oh, didn’t realize you are talking about oakter.

There are plenty of cheap camera available on amazon that are oficially ONVIF compliant.

One thing I realized early on in this hobby is that you should never pick any end-point with undocumented / proprietary APIs, or for that matter anything that does not allow for LAN based access…

unless of course some good soul on github has already created an alternate mechanism to connect through some exploit :wink: (e.g tuya-connect)

1 Like

Yeah you’re right but I received those Oakter products with a TV purchase so I thought I could use them since they’re basically useless.

Does your AC behave exactly like HVAC in the iOS Home app? Any downsides you’ve noticed?

It does. The only thing missing in Home app is the dehumidifier mode that does not show up (which does work from the lovelace HVAC control)
It’s a pretty good integration with no lags to speak of (as expected as it’s all LAN)

1 Like

Can you share details on how you configured OpenVPN with your Lightsail instance? Would you like to join my Discord to discuss this?

It’s a simple three step process.

  • Install a openvpn server on any VPS. I suggest lightsail with an India IP as their latency is (naturally) very low compared to any VPN outside India

  • Note the client config generate by openvpn (or save the ovpn file) and configure your router (if it supports ovpn client mode)… If not, take any linux box on your LAN and configure it as a client

  • Setup appropriate port-forwarding rules on the VPS and your local box

e.g. if you want port 8123 on 192.168.1.100 to be accessible then port forward 8123 from say 10.1.0.1 (lightsail ovpn tunnel IP ) to 10.1.0.2 (your local linux box tunnel IP)
Then forward 8123 from your linux box to 192.168.0.100

you’ll need to enable port fwding on the kernel on both systems

sysctl net.ipv4.ip_forward=1

example of forwarding

iptables -t nat -A PREROUTING -p tcp --dport 8123 -j DNAT --to-destination 192.168.0.100:8123

finally enable NAT:

iptables -t nat -A POSTROUTING -j MASQUERADE
1 Like

Thank you for that. When you configure your Linux machine as a client, does OVPN act as a separate network interface?

Also, can you help me set up Tasmota on the Oakter IR blaster? Sorry, I’m completely new to tinkering with gadgets this closely :sweat_smile:

NP…
Yes, ovpn will be a new virtual interface

And as for tasmota, sure…
The instructions on tasmota github are mostly self explanatory but happy to help out on any queries you may have…
BTW You will also need a USB- Serial converter to flash

There is no other way to get it working with Home Assistant without accessing the board?

The only OTA flash that I know of for ESP8266 is Tuya-OTA… However the target device needs to be running default tuya/smartlife firmware and the underlying chip should be ESP8266… That makes the exercise a bit of a hit & miss

e.g. the Oakter IR device uses ESP8266 and the backend platform is tuya but the firmware they use is a customised version and thus the OTA flash won’t work

With lightbulbs (that you cannot really open up easily), tuya-ota is fine
However for devices that provide easy access to the pins, the physical serial connection for flashing is the preferred method.

1 Like

It looks like this thread has gone in another direction.
Has anyone found any integration or way for Wipro devices to work with home assistant?