GithubHelp home page GithubHelp logo

Comments (8)

francesco-re-1107 avatar francesco-re-1107 commented on August 23, 2024 1

Hi,
as a workaround you can use this library
Make a python script like this:

from OpenWebNet import OpenWebNet

server = OpenWebNet("192.168.1.35","20000","12345")
server.request("*6*10*4000##")

And use the Exec binding to run the script as you want in openhab.

from openhab-addons.

Gozilla01 avatar Gozilla01 commented on August 23, 2024

This function is already expressed in this issue #22

from openhab-addons.

mvalla avatar mvalla commented on August 23, 2024

In fact the issue is similar, but I prefer the description and specification here, for example to divide WHO,WHAT,WHERE (to avoid wrong frames are sent on the BUS) and to have two separate channels or Things type for sending commands and receiving generic events.

from openhab-addons.

llegovich avatar llegovich commented on August 23, 2024

sorry, the usage in rules should be something like:

mySwitch.sendCommand("16") // sends the "*1*16*77##" command on the bus

(changed .sendCommand(ON) to .sendCommand("16") in the example. In fact, the sendCommand should be able to send a generic WHAT content).

from openhab-addons.

Gozilla01 avatar Gozilla01 commented on August 23, 2024

Assignee to me

from openhab-addons.

nix1986 avatar nix1986 commented on August 23, 2024

Is possible to have a simple example how to configure properly the "generic device"

im try to get own command to the bus *6*10*4001## to open automatic door but to the bus is no sent anything

i have tryed this code to *.things file:
device cancello "cancello" [who="6" , what="10" , where="4001"]

and this code to *.items file:
Switch cancello "cancello" ["Switchable"] {channel="openwebnet:bus_command:MH202_0003500224b8:cancello:switch"}

the generic device in things list show "Unknown" state and no linked to relative item.

I have found this "v2.5.0.M3.pre12" in Gozilla01 repository but the bus bridge can't connect to the MH200N because is old relase

this version have a bus_command but i think is not same as device

Thanks
Max

from openhab-addons.

admir86 avatar admir86 commented on August 23, 2024

any progress on this? or should this work already?

from openhab-addons.

mikigp avatar mikigp commented on August 23, 2024

Hi,

i have a similar problem with my new fresh installation of OH3. No support for the WHO=6. I found your solution @francesco-re-1107 and it's very interesting. The only problem is that i'm not so able with Python.

Can anyone specify all the steps to implement the script in the Exec binding from the beginning (starting from python setup)?

Thank you sooooo much!

from openhab-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.