Search found 56 matches

by dwmw2
Monday 10 November 2025 22:43
Forum: Speech & Voice Systems
Topic: New Alexa integration with OAuth2 account linking support
Replies: 11
Views: 324

Re: New Alexa integration with OAuth2 account linking support

I concluded that this would all work better if it was integrated natively into Domoticz rather than suffering an external translation.
PR: https://github.com/domoticz/domoticz/pull/6423

Docs and some scripting to help users deploy it, https://github.com/dwmw2/domoticz/blob/ ... c/ALEXA.md
by dwmw2
Sunday 02 November 2025 12:07
Forum: Speech & Voice Systems
Topic: New Alexa integration with OAuth2 account linking support
Replies: 11
Views: 324

New Alexa integration with OAuth2 account linking support

I've been using Madgeni's original alexa_domo code for years, but I've finally been prompted to update it now that the Smart Home APIv2 is being switched off.

At https://github.com/dwmw2/alexa_domo is an almost completely rewritten version, supporting the Smart Home v3 API and a few new devices. It ...
by dwmw2
Sunday 02 November 2025 3:19
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83095

Re: Alexicz - FREE Domoticz to Alexa Integration

I'd been using Madgeni's original alexa_domo for years, but the Smart Home API v2 is finally being turned off next week so I've spent some time updating it. And making it use the OAuth2 server that Domoticz now has built-in, so the account linking can log in directly to Domoticz instead of having to ...
by dwmw2
Thursday 12 September 2024 20:08
Forum: ESP8266
Topic: How to configure electricity meter with ESP easy pulse counter?
Replies: 6
Views: 5750

Re: How to configure electricity meter with ESP easy pulse counter?

I had a similar problem a few years ago and solved it with a LUA script:
https://www.domoticz.com/wiki/Lua_-_Electric_meter_pulse_counter

More recently I'm using ESPHome, so I've just submitted a PR which fixes the handling of `total_increasing` devices with MQTT AutoDiscovery: https://github.com ...
by dwmw2
Monday 09 July 2018 21:33
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers


yes I know, it was in the beta for some time and it works fine but I hate that I can't force connect.
It's hard set to 30 sec.


Hm, that's the first time I've spotted that complaint. Why's it a problem? You can connect to the amp even if it's "off"... do you use a hard power switch with it?

It ...
by dwmw2
Wednesday 04 July 2018 15:57
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers

The 4.9700 stable release was made a week or two ago, containing built-in support for Onkyo amps.
by dwmw2
Friday 05 January 2018 11:43
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers


Yes I did but then I have only the possibility of switching on and off, volume and zone 2 from my receiver. I would like the possibility of choosing my input (like radio).

I the onkyo app is this possible why not in the plugin?


Hm, that ought to work. In the models without NRIQSTN it should ...
by dwmw2
Friday 05 January 2018 0:23
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers


@dwmw2: Would it be hard to add device and learning of radio channels for pre-NRI-devices?


I'm not sure how we'd want to represent those as a device in Domoticz. It's not a simple selector switch like the input selector, since the presets only represent *some* of the available states of the ...
by dwmw2
Thursday 14 December 2017 22:53
Forum: Speech & Voice Systems
Topic: Amazon Echo to Domoticz Bridge: switches, sensors & more
Replies: 715
Views: 144475

Re: Amazon Echo to Domoticz Bridge: switches, sensors & more

There is an aggressive timeout for device discovery. It's been a while since I last paid attention but I seem to recall having to play some tricks to make discovery faster. Is the invocation timing out? Check the CloudWatch logs for your Lambda function and see what's happening...
by dwmw2
Thursday 07 December 2017 1:49
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers

Responses are a bit hard. You don't always get one. But it might be possible to cobble something together — perhaps with a timeout of 2 seconds, wait to see if anything comes back which has the first three letters of what was sent. There are use cases that wouldn't work for, though.

But really ...
by dwmw2
Wednesday 06 December 2017 20:57
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers


Thanks for all the work so far, now we wait till it's merged in a beta...


Should be in the next beta build. For receivers without NRIQSTN support it'll learn the devices (per-zone volume, power, source selector) as it sees them change. And it'll learn the available sources as it sees each one ...
by dwmw2
Monday 04 December 2017 15:15
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers

I've rolled those fixes into https://github.com/domoticz/domoticz/pull/1971

Still need to make it send the queries on startup, if NRIQSTN isn't supported. Real work intrudes though...
by dwmw2
Friday 01 December 2017 19:44
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers


cant you just check the other QSTN types and set the state?


Yeah, it could send QSTN at startup for any device which has previously been seen. There are caveats though, because the device sometimes doesn't respond if you send too much at once, especially if one of them is NRIQSTN. I probably ...
by dwmw2
Friday 01 December 2017 17:23
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers

OK, this should fix the support for models without NRIQSTN somewhat:
https://github.com/dwmw2/domoticz/commits/onkyo-dev

It still doesn't precreate devices; it needs to learn them. So turn each zone on/off and change its volume, and select every one of the inputs that it can manage.

I still need ...
by dwmw2
Friday 01 December 2017 14:24
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers

If you turn the zones on/off on the amp ,and turn the volumes for each zone up/down, the devices come back? But just don't have the correct icon, yes?
by dwmw2
Friday 01 December 2017 14:01
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers

What happens when you interact with one of the existing volume control devices, after the upgrade?
by dwmw2
Friday 01 December 2017 13:31
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers


Edit: checked the document which i got from onkyo a time ago when i implemented my own eiscp stuff. My TX-NR545 supports NRI.
When doing a manual NRIQSTN i just got a timeout.


You mean, it's *supposed* to support NRI, but empirically, it doesn't seem to?


The last version i used was just ...
by dwmw2
Friday 01 December 2017 12:46
Forum: Python
Topic: [RELEASED] Python plugin to control Onkyo receivers
Replies: 277
Views: 60204

Re: [RELEASED] Python plugin to control Onkyo receivers

Lyrex wrote: Friday 01 December 2017 12:12 Hey guys,

updated to the latest beta an now the native domoticz plugin does not work anymore for my TX-NR545. Anything i can do that it is working again?
Hm, I didn't think that should have broken. I'll check and fix it. Thanks.