Giter Site home page Giter Site logo

Comments (17)

simonrb2000 avatar simonrb2000 commented on May 30, 2024 1

Implemented this another way using dummy dimmers and some scripting. Can now turn on/off and control volume with one dimmer per radio. Works in Home App and with Siri. If this is wanted by anyone I can post the scripts. Cheers

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on May 30, 2024

Heh - take it clearing persist worked??

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

No, I have reopened as I was 99% sure clearing the persist would work as it made sense.

I deleted both Accessories and Persist folders, restarted homebridge. Deleted my Home from HomeKit and re added everything. The LMS players still show unsupported. They don't even show up in EVE.

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on May 30, 2024

Rightyho...!

It does look as tho an earlier addition has been removed by a more recent commit in the code. Shall get it put back again when I'm near a laptop... quite possibly mapped as a dimmer ;)

On 9 Oct 2016, at 11:13, simonrb2000 [email protected] wrote:

No, I have reopened as I was 99% sure clearing the persist would work as it made sense.

I deleted both Accessories and Persist folders, restarted homebridge. Deleted my Home from HomeKit and re added everything. The LMS players still show unsupported. They don't even show up in EVE.

โ€”
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

quite possibly mapped as a dimmer ;)

I like your thinking!

This is what I use for my Denon Amp and its great! I use it all the time - so quick when its in your fav as works great from the HomeKit favourites within control centre. (It only controls volume, not power) I rarely use Siri commands with it, just the control centre or my watch, which annoyingly takes an age to grab the current statuses)
https://www.npmjs.com/package/homebridge-marantz-volume

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on May 30, 2024

Can control power too if you look at it's description on npmjs...

this plugin ignores power state commands (on/off) by default, this is to avoid having your receiver turn off if you tell Siri to "turn off all the lights". If you want to control the power state of the receiver rather than ignoring it, set the "controlPower":true property in the configuration.

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

Oh yeah, I leave it to be power controlled via domoticz. It polls the receiver every so often so it knows if it's on etc.. I have a separate amp which powers 2 subs. So when the denon amp is on then domoticz knows to turn on the other amp etc..

On 10 Oct 2016, at 11:58, Marci <[email protected]mailto:[email protected]> wrote:

Can control power too if you look at it's description on npmjs...

this plugin ignores power state commands (on/off) by default, this is to avoid having your receiver turn off if you tell Siri to "turn off all the lights". If you want to control the power state of the receiver rather than ignoring it, set the "controlPower":true property in the configuration.

You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com//issues/49#issuecomment-252587194, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APQCAG4dLOoDa8LiqyhHbUS-zc5g3js5ks5qyhpegaJpZM4KR1Sd.

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

Any luck with this Marci?
Cheers

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on May 30, 2024

Not yet - soz - mental week of server outtages & maintenance updates in readiness for an app launch taking all my time up.

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

No worries mate ๐Ÿ˜€

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on May 30, 2024

Possibly sorted via 50d3a42 & 020dcb7

Give it a try nโ€™ let me know...

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

Brilliant Marci they are working however the dimmer has no effect. It's not tied into the volume of the radios. I'm not sure how it was implemented in the other plugins.

At least I can turn them on and off now.

Cheers

On 17 Oct 2016, at 17:44, Marci <[email protected]mailto:[email protected]> wrote:

Possibly sorted via 50d3a4250d3a42 & 020dcb7020dcb7

Give it a try n' let me know...

You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com//issues/49#issuecomment-254263223, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APQCAJETqcfgKVBZBgWZi2P4g3g_aPWoks5q06XogaJpZM4KR1Sd.

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on May 30, 2024

OK - youโ€™re gonna have to play with some URLs to work out which has any impact on the volume then....

http://server:8080/json.htm?type=command&param=switchlight&idx=260&switchcmd=Set%20Level&level=10

http://server:8080/json.htm?type=command&param=udevice&idx=260&nvalue=0&svalue=79

Try the above two links, varying the level value between 0 & 15 in the first, and experiment with changing value between 0 & 100, and if the has no impact set value back to 0 and try same changing svalue.

Just copy and paste them into a web browser and hit enter to send the command to your domoticz install (obvs changing server:8080 for your domoticz ip & port.

Once we know which format of URL and values make a difference I can add a custom handler for it (seeing as it wonโ€™t directly map to the lighting dimmer characteristic).

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

Marci, no luck trying to get the volume state, maybe if I can get the command to change with LMS directly could that be used instead? Also when the players are off they still show as on within HomeKit but as 0%.

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

http://tutoriels.domotique-store.fr/content/54/95/fr/api-logitech-squeezebox-server-_-player-http.html

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

Right, this command changes the volume within HomeKit but has no effect on the players. I guess thats what you mean by custom handler.

type=command&param=switchlight&idx=260&switchcmd=Set%20Level&level=10

Cheers mate

from homebridge-edomoticz.

simonrb2000 avatar simonrb2000 commented on May 30, 2024

This increases the volume on the actual player each time it is sent by 2
http://server:8080/json.htm?type=command&param=lmsmediacommand&idx=260&action=VolumeUp

from homebridge-edomoticz.

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.