Search found 124 matches

by jorgh
Sunday 24 November 2019 21:09
Forum: Python
Topic: Domoticz MQTT connection using Homie Convention
Replies: 2
Views: 979

Domoticz MQTT connection using Homie Convention

Hi All, I've created a Python script that publishes Domoticz devices to MQTT using the Homie Convention ( https://github.com/homieiot/convention ). Although it's still a raw 1st version, it seems to be running stable on my own install. There are probably devices in the wild that are not supported at ...
by jorgh
Thursday 30 November 2017 12:21
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@pr-j, @dwmw2,

That is actually not a bad idea. The receiver type is delivered by the discovery. We could add an XML file per receiver model number that does not support NRI, and load the XML from file instead of the receiver.

Regards,

Jorg
by jorgh
Thursday 16 November 2017 22:53
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@rizzah, Plugins should be installed in the plugins directory of Domoticz. On a Pi, this would be /home/domoticz/plugins/onkyo The plugin should be named plugin.py Be sure, to fetch the plugin from github. The main branch is for the stable Domoticz release, the development branche for the latest ...
by jorgh
Thursday 16 November 2017 22:39
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

Thanks! I had already added that hardware before adding the script, it added 3 devices (power, volume and zone2 power). Should i re-add it now i have the script in place, will that add more devices then or? @rizzah, I've noticed that the lates Domoticz builds already has (limited) native support ...
by jorgh
Thursday 16 November 2017 22:36
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

Good to see you again jorgh, hope you are allright. Can we expect any changes to the plugin in the (near) feature? :D @JimmyH1969, I've configured an internet radio station, to look into the internet radio request. However, it's clearly implemented differently from the normal radio presets. I've ...
by jorgh
Thursday 16 November 2017 22:22
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

Updated to latest Domoticz and development version of Onkyo plugin. Am receiving this error every now and then in my logs. 2017-11-10 18:08:35.442 Error: (Onkyo AV) 'onCommand' failed 'AttributeError':''NoneType' object has no attribute 'Send''. 2017-11-10 18:08:35.442 Error: (Onkyo AV) ----> Line ...
by jorgh
Monday 18 September 2017 20:53
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@Jake,

I've updated the development branch on Github. You should now be able to select discovered listening modes.

Regards,

Jorg
by jorgh
Thursday 07 September 2017 10:04
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@Xavier82, Did you find some time to create a plugin which supports Onkyo devices without NRI? Not yet, but the good news is that the way I select the listening modes will be similar to the way the non-NRI support will work. So, once the listening modes work, I'll start working on non NRI support ...
by jorgh
Thursday 07 September 2017 9:57
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@Jake, I am able to name my Listening modes, your approach works well. What doesn't work is 'setting' the newly listening modes. I click on the required listening mode, the switch button changes colour, but the receiver doesn't respond. After a refresh, the listening mode is changed back to the one ...
by jorgh
Tuesday 08 August 2017 16:22
Forum: Python
Topic: What type and subtype to use for Water
Replies: 3
Views: 2133

Re: What type and subtype to use for Water

@uNGam3R, Thanks for the tip. Hello, Select an incremental counter and then modify it to select "Water". It will give you a water counter in m3. You can set up the divide factor in domoticz / configuration. (as default it is set to 100, meaning that when you add 1 it increases of 0.01=10 liters ...
by jorgh
Monday 07 August 2017 21:36
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

Just for the record: I dont see the 80->ISCP buttons any more. That's good, but it stil keeps creating new buttons. I renamed them all to the corresponding sound format, for example "Pro Logic" and keep pressing the Movie/TV button untill the receiver switches to "Pro Logic" again, it creates a new ...
by jorgh
Monday 07 August 2017 13:39
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@JimmyH1969, Well, I think this is actually the intended behavior :D But let me explain. The receiver only publishes a small number of listening modes through the XML. These are the modes that you can select using the Onkyo remote app (or the infrared remote). However, some of them are not actually ...
by jorgh
Monday 07 August 2017 12:04
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@JimmyH1969, I've changed how the end of eISCP data is detected. I think this should solve the issue. Apparently the old method behaved differently on some platforms. And to be honest, it wasn't completely correct, however it still should have worked, according to my humble opinion. The new version ...
by jorgh
Monday 07 August 2017 11:08
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@JimmyH1969, Ok, I think: 2017-08-07 10:24:24.927 Error: (Receiver Huiskamer) PyDomoticz_Log failed to parse parameters: string expected. 2017-08-07 10:24:24.927 Error: (Receiver Huiskamer) 'PyDomoticz_Log' failed 'ValueError':'embedded null character'. Is the root of all evil. However, I need the ...
by jorgh
Monday 07 August 2017 10:22
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@JimmyH1969,
Using blocky i can not change the Main Source. I tried setting it to 60 (that should be AUX) using Blocky, but the input is not changing.
You should set the level using %, so Setting 'Level % 60' should do the trick. I've tried using blocky and it works here.

Regards,

Jorg
by jorgh
Monday 07 August 2017 9:03
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@JimmyH1969, It doesn't work i guess, or i'm doing things wrong.... The Source, Tuner and Mode switches, are multi level selector switches. I've not used Lua to set them, but if you try from Blocky, you should see that they are set on the level numbers (0, 10, 20, 30, etc). And a lot of these in the ...
by jorgh
Sunday 06 August 2017 22:49
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

Hi jorgh, Is there any way to control all the settings with LUA? This works: commandArray['Receiver Huiskamer - TX-NR646 Main Source']='On' This does not work: commandArray['Receiver Huiskamer - TX-NR646 Main Source']='AUX' Same goes for volume etc I would like to fire up the receiver in (for ...
by jorgh
Sunday 06 August 2017 19:21
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

@JimmyH1969,

My bad, I've forgot to push the onMessage changes to Github. It's now corrected. So grab the new version from the development branch and it should work.

Regards,

Jorg
by jorgh
Sunday 06 August 2017 15:33
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

Did you take the plugin from the Github development branch?

Verstuurd vanaf mijn HTC 10 met Tapatalk
by jorgh
Sunday 06 August 2017 15:18
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 55743

Re: [RELEASED] Python plugin to control Onkyo receivers

Hi Jorg, Tnx for the update, but i still get this message: 2017-08-06 15:03:18.274 (Receiver Woonkamer) Started. 2017-08-06 15:03:18.321 (Receiver Woonkamer) Initialized version 0.2.2, author 'jorgh' 2017-08-06 15:03:18.321 (Receiver Woonkamer) Entering work loop. 2017-08-06 15:03:30.364 (Receiver ...