Suggestions for OpenHAB

I also disagree, MQTT 2.5 is much more robust than MQTT 1.x
It is really different from MQTT 1.x so without looking into it more, it looks complicated compared to the 1.x, but it is not. And it is much more stable and maintained.

Maybe you should just read his post as a suggestion to a debat on the matter. This is a commity place, where debates about new features or even suggestion is totally on topic.

I see no reason why the community can not debate on a new idea, before is goes to request.

Exactly!!! :+1:

Just to add my opinion…

I´m with dastrix80.

Some of you are speaking about there is no need and doubt who will ever use it.
First of all - If the option is not there, noone is ever gona use it. You need to see it the other way around. If the option is there, users may start to see a reason for using it.
If/when there is a possibilty, like using MQTT, those with high experience in MQTT and rules, may be using it. The rest will not even try as it would not be worth the effort.

Second, I see at least one very obvious reason in a situation where you have wired USB/serial devices in different places of you house you wish to add to the system. This is where a master/slave connection really come in hand.

Its a valid suggestion from OP, for at least discussing, if this is something to become (requested) or to abandon.

2 Likes

Well given my own activity on the forum I fail to see there’s a relevant number of people to have zwave problems to be related to this that could not be resolved the right way ‘inside’ ZWave such as with repeaters. Granted I don’t read every post but I haven’t seen a single case recently.
I think it is less to the benefit of others but rather because you have been pregnant with that idea ever since and would like to have this feature (see @rossko57’s “summary” of your contributions on that topic).

Everyone his pet, I don’t mind. But keep yours in your house, please.
And jumping from (rare) individuals’ zwave problems on to request a openHAB master/slave architecture just to solve these however is a HUGE and unneeded step to cost I’d guess hundreds if not thousands of dev work hours and puts the whole system at risk hence that’s where I oppose.
But even if I was to ignore the impact on the dev side, it’s the wrong solution approach. RF issues must be solved on the transport layer, there are existing solutions (repeaters, ser2net) and workarounds (MQTT).

What is that suppose to mean?

I agree RF issues should be solved elsewhere. But the suggestion and the idea is still valid.

That the openHAB master/slave idea is @dastrix80’s pet and that he is free to consider that to be a good idea.
But that he is to please stop spreading the word as it has now become more than obvious that anyone he addresses disagrees.

rolls eyes Whatever Markus

Here we go:

I’m sure there are many many many more. All use cases for linking multiple zwave networks together or extending range or overcoming range issues etc etc etc.

1 Like

I do not agree on this.
Some dont see the advantage of this, but others do. There are even people in here who is using the MQTT bus already. So there is infact a need, though it may be limited…
As I previously wrote… When the option isn´t there, no one will use it, and maybe even not notice any need or advantage of a option like this. Thats not the same as saying, there is no need.

Its a bit ackward to state it like you do. I understand and partly agree where you´re getting at when looking at dastrix80´s individual situation (solve wireless issue). But I believe you seem to much focused on his specific situation. At least try to see it from a general aspect and purpose.
I´d mention another situation where it may come in hand.

If it´s worth the effort, I dont know. I have no idea how hard it would be to develope.

2 Likes

Just about everyone in the ser2net thread (Share Z-wave dongle over IP (USB over IP using ser2net / socat ) guide) would have a use case for it as well.

One of the biggest issues with ser2net, which the Event bus situation solves is the lack of signalling between ser2net and the Zwave binding (or any other system). What can occur and occured frequently for me and others, is that if ser2net looses connection and it does, the ZWave binding does not know about it.

That causes all sorts of ZWave issues and the Zwave network then breaks. You must restart it all , manually, or automatically if you’re extremely advanced and can script it.

The advantage of the event bus is very simple. Two discrete networks, operating independently, no bindings to restart. Should one of the master/slaves fail, they restart themselves and come back up, leaving the rest of the network to function (ie the other node that hasn’t failed).

But we don’t know what is being worked on. Many/most of the developers don’t spend much time at all here on the forum to tell us. Threads like these become huge arguments made largely out of ignorance about with is actually actively being worked. And since no developers are involved, even if there was a consensus nothing would come of it. The developers won’t see it, won’t act on it, and already apparently don’t see the need for it.

Looking at it from the other side, what good does the argument serve? If one person proposes something and 99 people say “that’s a bad idea” there is nothing stopping that one person from proposing it as an issue or actually working on it and submitting a PR. So what good is the argument here on the forum?

Then please suggest changes to make it simpler. “It sucks” doesn’t help. “If you added X or changed how Y works” is something actionable that I can do something with. Please post suggestions on the MQTT 2.5 Eventbus thread.

But don’t confuse familiarity with easy. The 1.x event bus configuration is simpler for you because you’ve already set it up and know how it works. I spent a couple weeks trying to figure it out so I could duplicate the features in 2.5.

As far as I can tell, the only part about the 2.5 version is that I provided thorough documentation explaining how it works which was missing from the 1.x version. And since the 1.x binding will not work on OH 3, it’s important to get this feature working with 2.5.

To use the 2.5 binding:

  1. copy the rules to both OH instances
  2. add the Items you want to publish to the Publish Group on both instances
  3. configure the subscription channel
  4. create the proxy Items to represent the remote Items

Done.

Debates are fine but without the involvement of a developer who is actually going to work on it it’s pointless. Everyone gets all worked up and it never goes anywhere. It just becomes one group of people saying “I can’t believe OH doesn’t do X” and another group of people who say “OH shouldn’t do X” and 100 posts later there’s a bunch of angry people with no resolution and X is no closer to being implemented than it was before the thread was created.

But the option is there. Kris just doesn’t like it. Perhaps you don’t like it. But unless and until a developer steps up to do something about it you are stuck with it. Threads like this do not get us any closer to finding such a developer.

1 Like

Ok but so what? They’re not newbies if they “need” that.
They can use ser2net, a Z/IP gateway or another tunneling technique.
They can be expected to be able to create a solution based on the MQTT event bus, too.
And if they’re not it’s a matter of education and docs. That can and should be handled on the forum.

So still no need to bug devs with master/slave there either.

I wouldnt say its pointless. Ofcouse at some point someone need to involve another one who can actually get the job done. But debate can be usefull to things like, getting ideas, discovering needs/nice features/different/whatever… ways of doing things…

Atm it doesn´t go anywhere, because dastrix80 is not allowed to make his suggestion.

If I knew MQTT and rules better, I would probably like it. I have looked at it a few times, and I stil believe its a hard work to get it up running. I dont know if I ever mange to get it to work. But even if I do, I would still highly appreciate if there could be an easier way.

When I read dastrix80´s suggetion, I read he suggest an easier solution which suits all and not just those with highl MQTT and rule knowledge… I see no reason to try stop such a suggestion, just because there already is a “harder” way doing it, or if I´d fancy the MQTT solution.

A small example of what it maybe could have become:
I have a few Velbus devices. The Velbus data bus is connected to my openhab system on my Odroid C2 through the Velbus USB interface. On the Odroid there is a Velbus server running, its a small script which behave as a server and gateway between the USB data bus and the server. All I need to do in the Velbus openhab binding, is to add the IP adresse of the Velbus server, and then it will find my devices through a USB data bus.
On my other openhab systems, all I had to do was to install the Velbus binding, point it to the IP of my Odroid running the Velbus server, and the psysically same Vebus devices are now added to two openhab systems at the same time…
The Windows software to program the Velbus devices, (Velbus Link) is using the Velbus server as well to connect to the Velbus devices. Again, all I had to to was to tell Velbus Link which IP of my Velbus server. Now I have 3 systems communicating with the very same Velbus devices, through the Velbus server running on my Odroid. (I´m sure you get the picture).

I´m not saying the same thing is easily done with openhab. But if something simular could be done, it would be much easier to comprehend and setting up for most, (even for the knowledgde users) rather than the suggested MQTT solution, which in my opinion, is for highly advanced users.

But we never get there, because we´re (as usual) discussing personal needs, and the fact that there already is an option, though, probably most, including me, find it highly difficult to setup.

Thats what killing suggestions like dastrix80´s.

3 Likes

“I’m using a bad product. I have found a complicated circumvention using a dissimilar 2nd product. I want someone to make that 2nd product easier for me to use in order to avoid the 1st product.”
The obvious response is - why not pressure the 1st product for improvements? Or is that happening as well?

If ser2net is crap, can it be handled better? It doesn’t really matter if it does hiccup occasionally, if it is recoverable promptly. Is there something to improve in zwave binding? Or more likely, in openHAB serial handling?
Oddly enough I was reading (but not understanding) github activity about serial for OH3 last night. Should you be poking that to highlight ser2net problems?

1 Like

FWIW: [SOLVED] [Zwave, Zigbee, ...] RFC2217 remote serial port HowTo?

No, what kills suggestions like dastrix80’s is that he’s started a thread on the forum asking for X. All sorts of users have come out of the woodwork to discuss X. Where is the developer who’s going to implement X? I don’t see one here. Whose going to build it? No one on this thread is going to. So even if we all thought the suggestion was the greatest thing since sliced bread, no arguments, nothing would come of it.

There is absolutely positively nothing stopping someone from implementing this feature if they think they can do better. If its something that anyone really wants, go find a developer or become a developer and make it happen. Who cares what the rest of those on this thread think. Code speaks louder than forum posts.

1 Like

Gorgeous day here in Sydney, time for a nice coffee. Thanks all!

3 Likes

Not entirely true :wink: What is true though - I’m not speaking on behalf of all developers here, just expressing a personal opinion - while getting the pulse of the community is important to know we’re headed in the right direction, at the end of the day, everyone here invests their time for a reason: it could be the intellectual satisfaction of having built something cool, solving one’s own problem, sometimes it’s another ulterior motive (however financial bounties or flattering one’s ego are rather marginal here I think), or yes, at times, it can be pure altruism - I have poured hours into implementing features I don’t even use just because I thought they were important to have (and the pleasure of seeing others using them and building things with them, so okay, there’s a “ego” factor).

However, relying on altruism alone to get things done for you is only going to get you so far; while everyone can make a feature request - or rather “suggestion”, a “request” implies an expectation, openHAB being a volunteer-run project rather than a product, there are no expectations to be had -, even if it’s the best idea in the world, it translates to someone having to do the grunt work. Sure, if you haven’t been convincing enough, it means that sometimes it will be denied or lost in the cesspool of good ideas never implemented, but it would be quite dishonest to then blame developers like “I, your user, am disappointed, and it’s on your conscience now” - and it won’t keep them from sleeping at night, to be honest.

There are maybe a dozen of active developers and maintainers regularly working on the code, at most, and you can trust on the professionalism of all of them not to leave you with something unusable… and we are users too, we’re not in our ivory tower. In general we choose to focus our energy to getting the work done, rather than participating in debates like this, and it’s natural that we have the final say on what we’d like to devote our spare time to.

10 Likes

Right on Yannick!!!
Pitch in folks!!! don’t just complain!

What part of

do you not understand?

I totally agree AND would like to add don’t assume or take a suggestion or wish to discuss something as a complaint or an attack. I am saying to all and not aiming it at you or anyone else.

A) don’t attack the devs or anyone willing to help out.
B) don’t attack a passionate user that loves openhab for trying to understand and suggest ideas.

I would like both to happen and sorry I won’t get drawn into arguments, I have better things to do.

3 Likes

Yes, as I said, at some point he (someone) would need to involve those who are going to do the job (file an request).
But its still a suggestion here on the forum, where we can debate for/against/changes of the suggestion itself. There is simply no need to attack him for doing this.
If you dont like his suggestion, you´re free to not participate in the debate, or argue for whatever reason you may have for beeing against.
But by telling him there already is an option, which you know he dont like, cause he is suggesting something he believe is better. (He´d actually mention the MQTT option). That´s not really doing any good.

Right now, I see a few people who rather wants to avoid (sabotage) the debate, twisting its contents to suit something I really cant get my head on to, why, except their personal needs.
If you dont like the suggestion, thats totally fine. But if you do, maybe you should back up the suggestion, maybe even help gettting the real request filed as clear as possible to be better accepted by the developers. Insted of these pointless discussions about, how OP present his suggestion, your personal needs, and whats already possible. That doesnt change anything, except killing the debate. And the idea will probably never reach the developers, cause its killed with the attitude he´s meeting from some people here on the forum.

Thats very sad when the idea is a great idea! (which it is in my opinion wether or not I´m ever going to use it. Which is why I´m taking part, backing up dastrix80).

But debating a idea/suggestion could be usefull for OP and the rest of us, before actually making the final request.
Again, try not to focus on how he present it and your personal needs, but insted focus on the idea itself from an over-all point of view.

It seems to me, you rather prefere each and every individual user filing requests all by themselves not involving any part of the community on their ideas?
Sometimes people just want to debate the idea first, before going through to the actual request, even though they may present the idea as a suggestion.

I´m pretty sure, if we all stood together in a specific matter, a suggestion would probably be reached more positive, (more seriuos) by the developers when filing the final request, rather than one individual personal requests. Thats where the commnuity (forum) come in hand, and can become very powerfull and benefit openhab! You should not try ruin or ignore that part.

All this is not only pointed at you Rich… Its an request to those who´s acting up each an every time someone mention an idea/suggestion.

1 Like

Bang! :+1:

2 Likes