Well,
Looks like while I was away GitHub suspended my repository. I have to figure out what went wrong.
Thanks,
Jack
Well,
Looks like while I was away GitHub suspended my repository. I have to figure out what went wrong.
Thanks,
Jack
Hi, just wanted to say that I donāt see your fork.
GitHub just reactivated my account. Apparently some bot flagged it for review. Now it is good again.
Please let me know if my changes look good.
Thanks
Jack
Nice build @Jack_Jack!
I recently installed my OHS system. Iām curious about your setupā¦ 50 zones is a lot!! Is this residential? What kind of sensors and nodes will you use?
Hello Jack, it seems fine to me. Now to make github actions to build the image.
Can you see the workflows in Workflow runs Ā· J9234450/OHS_2-gateway Ā· GitHub ?
If yes, then you can run manually the ācompile_and_buildā.
Oh, just one more thing, sorry. You need to pull the latest version again.
Since for 1.5.3 firmware I have changed also the build repository. There are new version of the lwip network library and some other clean ups.
The build repo GitHub - vysocan/OHS_2-chibios is the base OS prepared for the gateway, and it is referenced by the build scripts.
Sorry for the delay. Had a few home projects blow up on meā¦. Literally.
I have every window and door wired as a single zone plus a bunch of overlapping motion sensors.
It may be overkill, but I already have it all pre-wired and a box of sensors I have collected over the years.
Okā¦ā¦ so just tell the fork to rebuild? Sorry for the basic questions. Learning GitHub as I go here.
Some new pictures are coming? Iām kind of interested into the BIG wiring you are making.
Just pull the latest changes from the GW master repo again. And keep the changes for zones and mqtt fifo sizes as before:
#define ALARM_ZONES 56 // # of zones
#define MQTT_FIFO_SIZE 80 // To accommodate various sources like zones, groups, sensors
Then make a build in your repo either manually or by commits.
Well, got the unbalanced zones wired.
I tried a few zones and they are not updating on the gui. Does that update real time or do I need to refresh the zones in the GUI?
I planned to wire all zones, then figure out what they go to by opening and closing doors and windows.
I also tried jumping a zone with short wire.
Does MQTT need to be running before I can get live updates on zones? The GUI does not appear to update live.
That is the eventual plan. Just trying to get the hardware set up.
Nice
Do you mean like if the zone page is constantly updated? Not, you need to refresh the page every time. That is really just overview of current state when the page is loaded.
It would need a web-socket or something similar to show life update.
You will see life update in HA via the MQTT.
Sounds like I need a couple extra hands or finish the sensor installs so I can determine the zone names.
Thanks!
Actually, any MQTT program will show you the life status. Like MQTT explorer, or even some mobile version.
Ok, I think I have the zones reporting correctly. I will start adding the sensors to see if they update the state now.
Added one zone sensor and that one reports correctly. One of my zones shows a closed circuit, but I cannot tell why. I must have a short in the wall somewhere. That may have to be a wireless sensor.
Trying to get MQTT started. I get in my mosquito broker log that my OHS2 client is not authorizedā¦ā¦
On the OHS2, I get a symbol that looks like I am not connected. How do I debug this issue? I am guessing I do not know how to do something as this is my first attempt at using mqtt.
Okā¦ā¦ after thinking a few minutesā¦. I think I need to work on getting the new firmware installed as that is the easiest way probably to integrate MQTT.
Unauthorized is probably due to a bad username/password.
Can HA connect or can you connect with another client (MQTT Explorer or something else)?
Also make sure to disable TLS.
ps vyscon also has a discord which might be easier getting support
This is my first attempt at using MQTT on HA. I did copy-paste my username and password between the HA and OHS2. My assumption is that they are identical.
I think I might try to flash the latest firmware with auto discovery in case that will help. May not help, but at least I will be up to date.
I probably will need to migrate some questions to discord, but I built this thread to shed some light on this product to the HA community.
Thanks for the reply!