Is this amount of errors normal, multiple reboots/repairs before it finally worked for a few mins, why?

Russ I really appreciate how you handle things on this forum. I only got into openhab for that camera binding actually. So it has to be the fist thing I setup. I kinda wanna do lighting but it would all be tied to that camera binding. See the video below for what I wanna do after I get the ipcamera binding working. The idea is to have my cameras say something when they see something basicly. We have a lot of opportunist thief’s around Albuquerque. I want them to know there being watched by my cameras.


This is exactly what I wanted to know. I found the IPcamera binding listed and I’m ready to see how this goes in discovery. I know im going in the backdoor to get openhab going but i’ll circle around and learn the basics through BKhoby and lookup whats old and missed in those videos.

1 Like

That depends on the binding rather than how it is installed. The zwave binding you need to search & choose no matter how the binding is installed. My point is that the binding actively appears in the UI but does not show in the installed list.

1 Like

Well, it doesn’t have to be, but I appreciate your perspective. It would cost all of $20 to buy a wifi smart plug.

That’s fine so long as you know that some of your problems in setting up the IP camera might be self-inflicted. So long as you try to figure it out for yourself before asking questions, you should be able to avoid snarky responses. People here just want to see that a good effort was made (showing your work helps). :wink:

1 Like

You guys have been so helpful. I looked into doing lighting second and you wont believe this. My lighting will also be complicated. I have leviton decora smart switches. SO I have to use another oddball python script install for that. At least I have some python knowledge.

They also make Z-Wave switches. The Z-Wave mesh network was designed for smart home devices, unlike Wi-Fi.

Yeah I picked the wifi ones because I did not want to hub, i wanted to use alexa and google home directly and now that I am getting into openhab it will be my hub.

Z-Wave is all local, with no cloud dependency. It also was designed for battery devices to maximize battery life for sensors, etc.

I think @madhits is saying that he’s already installed a bunch of switches, so there’s no going back without spending a bunch of money.

@madhits, that is unfortunate that you didn’t come across OH until now. Hopefully that Python script works, as it doesn’t look like the guy who provided it has been on the forum in awhile.

yeah i did not want a second wireless signal running in my house and choose wifi as it made things simple. I figure later if I want some battery powered stuff I would go with zigby. I know in the coming years these standards will start to disappear and I figured wifi is not going anywhere.

So another question since I got you. \OPENHAB\openHAB-conf\services not have the mqtt.cfg after installing the MQTT-Binding using Paper-UI? It appears it no longer needs the mqtt.cfg. shoot so how do i follow this guide? Step-by-Step guide for adding Tuya-bulbs, Wi-Fi smart LED (Smart Life app) to OH2 using tuya-mqtt.js by AgentK

Actually this is asking to comment out maybe I just ignore it and install the api.

Don’t get @Bruce_Osborne started on WiFi devices. He has legitimate reasons to hate them. :wink:

If I started over again I’d go straight to ZWave whenever possible. Devices tend to be more expensive and it can be finicky at times, but there’s a lot of support for it in the community (Bruce being one of the go-to members). I don’t see ZWave disappearing any time soon.

For MQTT, you just need to install the Mosquitto broker (via openHABian config tool) and then install the MQTT binding. After that, you can configure the binding to talk to Mosquitto using PaperUI or text files.

Are you actually installing Tuya-based devices, or just wanting MQTT? If the latter, I don’t think you need that tutorial.

1 Like

Yes after looking at the ipcamera binding and complexity I decided to try to do my lights as you guys suggested. I have the following in my house that Id like to automate.

  1. Tuya lights/switches
  2. leviton switches
  3. panasonic tv
  4. ONVIF and Dahua cameras.

Tuya seemed the easiest after reviewing everything. Actually the TV is prob the easiest but cant think id wanna do that before lights.

Why do I not need the guide though? It has no binding, just a script so I need to try to add all the tuya things.

DARN getting an error trying to install the tuya api…
npm install codetheweb/tuyapi
npm WARN saveError ENOENT: no such file or directory, open ‘/home/openhabian/package.json’
npm WARN enoent ENOENT: no such file or directory, open ‘/home/openhabian/package.json’
npm WARN openhabian No description
npm WARN openhabian No repository field.
npm WARN openhabian No README data
npm WARN openhabian No license field.

  • tuyapi@5.2.1
    updated 1 package and audited 19 packages in 18.81s
    found 0 vulnerabilities

Thought it was missing sudo but it was not that. Same error even with sudo

I can’t help you with this, as I went in another direction by flashing my Tuya devices with Tasmota firmware. You’ll be better off posting in that ongoing thread than continuing this one (which has now strayed far from its original topic).

Flashing Tasmota sounds hard, but it turned out to be pretty simple once I did it. This tutorial is about smart plugs, but it applies to any device in the Tasmota Template list. It states that you need a spare RPi, but you don’t. You just need a separate SD card with a fresh Raspbian installation.

Once you’ve done this, your Tuya-based devices will be discoverable by MQTT and you can control them easily with openHAB. Also, there’s no cloud requirement, so they’ll work without Internet access and won’t tell Chinese spies when you’re turning your lights on and off (if you care about that sort of thing).

If this sounds like a lot, then I would start with your TV (though I don’t know what the state of the Panasonic binding is). Just to have the satisfaction of something working the way it’s supposed to work.

As noted at the start of this post, I feel like we probably need to tie up this thread now that you’re on your way. Good luck!

Yeah I knew that thread was going off a cliff.

Interesting idea to reflash everything but are all mine really supported by this new firmware? This is a big question ill have to find out first.

As for the TV i know it will work cuz its a VT60 model with WOL support. So I know I can turn it on with WOL and off with the panasonic binding. As for the other stuff Im not so sure.

Anyway Ill mark your reply as the solution as this has been really enlightening.

1 Like

If you ask questions about Tuya-convert on that thread, I’ll happily reply there. :slight_smile: