David Miller

Results 95 comments of David Miller

I assume this is an outlet, as that's the only thing that supports voltage in mqttthing? Trying to test with this config and the Eve app, but I can't see...

I've added configurable voltage range in version 1.1.40 - please let me know if that helps. ``` { "type": "outlet", "name": "Test Outlet", "url": "homebridge2", "topics": { "setOn": "test/outlet/on", "getInUse":...

Need to be `minVolts` not `minValue`

I wouldn't expect updating to touch your configuration. However, I'm also not aware of any update script.

Bizarre. Allowed lower values without validation errors for me.

Not currently possible.

@broadcastthebadger You're sending JSON to MQTT-Thing, so you need to decode this either with an apply function (https://github.com/arachnetech/homebridge-mqttthing/blob/master/docs/Configuration.md#apply-functions) or using the JSON codec (https://github.com/arachnetech/homebridge-mqttthing/blob/master/docs/Codecs.md#json-codec-json). For the latter, you'd need to...

Also `switchValues` must be _an array of 3 switch values corresponding to single-press, double-press and long-press respectively_, and shouldn't be inside `topics`.

Confirmed: the following config works for me: ```json { "accessory": "mqttthing", "type": "statelessProgrammableSwitch", "name": "4 Way Switch", "url": "homebridge", "logMqtt": true, "topics": { "getOnline": "zigbee2mqtt/bridge/state", "getSwitch": "zigbee2mqtt/0x04cf8cdf3c791ad9" }, "switchValues": [...

Thanks, @the3future - your example shows the 'apply function' method which I'm sure would work perfectly for @broadcastthebadger too. It's slightly more flexible as you can do different/additional processing on...