Coder Social home page Coder Social logo

homebridge-rinnai-controlr's People

Contributors

dustindclark avatar guillochon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homebridge-rinnai-controlr's Issues

Encrypt our Rinnai Control-R password

I am concerned with my Rinnai login credentials sitting in plain text on the Homebridge config file. Is it possible that they can be point in time encrypted/decrypted? This is how most network vendors handle this problem (passwords in text config files).

Add support for Vacation mode switch

I would love to create an automation to run whenever the last person leaves home - to turn on Vacation mode, which is an option in the Control-R app that disables your recirculation schedules while you are away. And then when anyone arrives home to turn off Vacation mode.

Is Vacation mode available via the Control-R api?

Thanks!

Set State Fails with 400: Bad Request on Node 18+

Describe Your Problem:
I am very much a homebridge rookie. However, I seem to be in a loop where my AWS authorization token never gets updated. It keeps being restored from cache. How can I force the plugin to regenerate everything from scratch?

When I cut and paste the AWS recirculation https request into a web browser {"message":"Missing Authentication Token"} is returned.

So I started looking to see if I ever create a new/updated device. That doesn't seem to happen, it just keeps restoring from cache.

I've run the standard gambit of resets, uninstalls, reinstall, flush cache, ... No joy. Suggestion for what to do would be welcome.

Alexa seems to start the recirculation fine and the ControlR app 2 does as well.

Before I upgraded homebridge this plugin was working fabulous. I know it can work for me!

Logs:

Show the Homebridge logs here, remove any sensitive information.
[03/01/2023, 16:36:44] Registering platform 'homebridge-rinnai-controlr.RinnaiControlR'
[03/01/2023, 16:36:44] [homebridge-rinnai-controlr] Loaded homebridge-rinnai-controlr v1.0.25 child bridge successfully
[03/01/2023, 16:36:44] Loaded 1 cached accessories from cachedAccessories.0E83FD2958C0.
[03/01/2023, 16:36:44] [homebridge-rinnai-controlr] Finished initializing platform: undefined
[03/01/2023, 16:36:44] [homebridge-rinnai-controlr] Loading accessory from cache: RINNAI
[03/01/2023, 16:36:44] Publishing bridge accessory (name: homebridge-rinnai-controlr, publishInfo: {
  username: '============',
  port: ++++++++,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'avahi'
}).
[03/01/2023, 16:36:44] [homebridge-rinnai-controlr] Executed didFinishLaunching callback
[03/01/2023, 16:36:44] [homebridge-rinnai-controlr] Temperature units set to F. All values from config and from Rinnai will be converted to C.
[03/01/2023, 16:36:45] Homebridge v1.5.1 (HAP v0.10.4) (homebridge-rinnai-controlr) is running on port ++++++.
[03/01/2023, 16:36:46] [homebridge-rinnai-controlr] Session initialized successfully for user: {"username":"[email protected]","pool":{"userPoolId":"us-east-1_OcwpRQbMM","clientId":"5ghq3i6k4p9s7dfu34ckmec91","client":{"endpoint":"[03/01/2023, 16:36:46] 

[homebridge-rinnai-controlr] Polling devices...
[03/01/2023, 16:36:47] [homebridge-rinnai-controlr] Found 1 Rinnai devices.
[03/01/2023, 16:36:47] [homebridge-rinnai-controlr] Generating UUID from DSN null
[03/01/2023, 16:36:47] [homebridge-rinnai-controlr] Restoring existing accessory from cache: RINNAI
[03/01/2023, 16:36:47] [homebridge-rinnai-controlr] Setting accessory details for device: {

[03/01/2023, 16:36:47] [homebridge-rinnai-controlr] Temperature Slider Min: 48.888888888888886, Max: 60, current temperature: 51.666666666666664
[03/01/2023, 16:36:47] [homebridge-rinnai-controlr] Device null has recirculation capabilities. Adding service.
[03/01/2023, 16:36:47] [homebridge-rinnai-controlr] Polled 1 Rinnai devices successfully.
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Polling devices...
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Polling devices...
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Found 1 Rinnai devices.
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Generating UUID from DSN null
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Restoring existing accessory from cache: RINNAI
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Setting accessory details for device: {

[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Temperature Slider Min: 48.888888888888886, Max: 60, current temperature: 51.666666666666664
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Device null has recirculation capabilities. Adding service.
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Polled 1 Rinnai devices successfully.
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Found 1 Rinnai devices.
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Generating UUID from DSN null
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Restoring existing accessory from cache: RINNAI
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Setting accessory details for device: {

[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Temperature Slider Min: 48.888888888888886, Max: 60, current temperature: 51.666666666666664
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Device null has recirculation capabilities. Adding service.
[03/01/2023, 16:41:40] [homebridge-rinnai-controlr] Polled 1 Rinnai devices successfully.
[03/01/2023, 16:41:44] [homebridge-rinnai-controlr] setRecirculateActive to true for device null
[03/01/2023, 16:41:44] [homebridge-rinnai-controlr] Sending state to Rinnai. Endpoint: https://698suy4zs3.execute-api.us-east-1.amazonaws.com/Prod/thing/CR_2c4afc34-50dc-441b-baf5-116553c86fb4/shadow Request: {"method":"patch","body":"{\"set_priority_status\":true,\"recirculation_duration\":\"15\",\"set_recirculation_enabled\":true}","headers":{"User-Agent":"okhttp/3.12.1","Content-Type":"application/x-www-form-urlencoded","Accept-Encoding":"gzip","Accept":"application/json, text/plain, */*","Authorization":"Bearer 
[03/01/2023, 16:41:44] [homebridge-rinnai-controlr] Set state responded with 400 Bad Request. Body: {}


**Plugin Config:**

```json
Show your Homebridge config.json here, remove any sensitive information.
    {
        "username": "xxxxxxxxxx",
        "password": "xxxxxxxxxxxxx",
        "recirculationDuration": 15,
        "temperatureUnits": "F",
        "minimumTemperature": 120,
        "maximumTemperature": 140,
        "_bridge": {
            "username": "0E:83:FD:29:58:C0",
            "port": 55190
        },
        "platform": "RinnaiControlR"
    },

Screenshots:

image

image
Results of cut and paste into browser.
Environment:

  • Plugin Version:homebridge-rinnai-controlr v1.0.25
  • Homebridge Version:
  • Node.js Version:
Node.js Version v18.12.1
* **NPM Version**: * **Operating System**: Raspbian GNU/Linux Bullseye (11)

Node.js Version v18.12.1

Recirculation duration?

In Settings, Recirculation Duration is set at 15 minutes. When creating HomeKit automation, I set a time to start, and use the option to turn off after 2 hours. I was expecting the recirculation to go on for the full two hours, but it turns off after the 15 minutes. I could change the duration in settings to match or something longer than my longest automation duration, but It would be nice to keep the “manual” toggle to a shorter duration. Anyway to implement separate durations? Or some other way to make my use case work?

Recirculation always on

Describe The Bug:
My water heater seems to be perpetually in "recirculation" mode. In the Control-R app it always shows as "recirculating" and in Apple Home the device's status is always on. If I send an off command, the Home accessory shows as off for a little bit (maybe 10ish seconds), but immediately flips back on. The heater itself is not recirculating in this state, however when I power cycle the heater it immediately starts recirculating. It then will not recirculate again until the next power cycle.

It's entirely possible my heater is just in a weird state but it's strange that my attempts to turn off recirculation after power cycling are ignored.

Logs:

This is mean trying to toggle the heater off, those attempts are logged. I don't see anything else in the logs.

[06/10/2022, 16:42:14] [RinnaiControlR] setRecirculateActive to false for device null
[06/10/2022, 16:42:21] [RinnaiControlR] setRecirculateActive to true for device null
[06/10/2022, 16:42:26] [RinnaiControlR] setRecirculateActive to false for device null
[06/10/2022, 16:43:15] [RinnaiControlR] setRecirculateActive to false for device null

Plugin Config:

        {
            "username": "---",
            "password": "---",
            "recirculationDuration": 5,
            "temperatureUnits": "F",
            "minimumTemperature": 120,
            "maximumTemperature": 140,
            "platform": "RinnaiControlR"
        },

Environment:

  • Plugin Version: 1.0.16
  • Homebridge Version: 1.5.0
  • Node.js Version: v16.16.0
  • NPM Version: 8.11.0
  • Operating System: hb-service

Error on values reporting during plugin load

Describe The Bug:
Receive an error message when plugin loads.

To Reproduce:
resetart the HB plugin

Expected behavior:
No reported errors

Logs:

[28/04/2024, 15:49:51] [homebridge-rinnai-controlr] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 45.888888888888886 exceeded minimum of 48.888888888888886. See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

{
"username": "[email protected]",
"password": "thisismypassword",
"recirculationDuration": 15,
"temperatureUnits": "F",
"minimumTemperature": 120,
"maximumTemperature": 140,
"platform": "RinnaiControlR"
}

Screenshots:

Screenshots:

Environment:

Plugin Version: v1.0.26

Homebridge Version: v1.8.1

Node.js Version: v20.12.2

NPM Version: unknown

Operating System: Raspbian

Apple Home switch doesn't turn off when recirc is through.

Describe The Bug:
When the Rinnai recirc is finished (I have mine set to 15 Min) it does not turn the Apple Home switch off.

To Reproduce:

Expected behavior:

When I call Hey Siri "hot water" it turns the Home switch on. But when the recirc is finished it doesn't turn to switch off and I have to do it manually. The recirc on the Rinnai does stop but the Apple Home switch isn't set to off. I would think that after the time set in the parameters the switch would be turned off.
Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Config

Screenshots:

Environment:

  • Plugin Version:1.0.26
  • Homebridge Version: 1.7.0
  • Node.js Version: 20.9.0
  • NPM Version:
  • Operating System: Mac OS 14.2.1

Add log message when set temperature changed/recirc turned on

Currently no log info is printed to the homebridge log whenever a heater's set temperature is changed and/or recirc mode is turned on/off. Can we add some? Would be useful to know when homekit accessories are actually receiving the commands they are supposed to be receiving. Thanks!

Won’t show up in Home

Describe The Bug:
I installed the app in hoobs with no error messages. But there is no option to control my ControlR in the Home app.

To Reproduce:
Install the app

Expected behavior:
Expected to be able to control my ControlR in the Home app

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

Install sometimes fails on resource constrained devices (i.e. Raspberry Pi)

This is because of very large dependencies. The install fails and leaves corrupt directories, and Homebridge also crashes. It generally fails while installing react-native, which is 118MB. Path to dep below:

└─┬ @aws-amplify/[email protected]
  └─┬ @aws-amplify/[email protected]
    └─┬ @aws-sdk/[email protected]
      └─┬ @aws-sdk/[email protected]
        └─┬ [email protected]
          └── [email protected]

Tracked in dependency under aws-amplify/amplify-js#9119

401 Errors from Rinnai APIs

Same error reported on HA: explosivo22/rinnaicontrolr#13

Logs:

[10/1/2022, 5:42:13 PM] [homebridge-rinnai-controlr] Could not poll Rinnai devices {
  data: {},
  errors: [
    Error: Request failed with status code 401
        at createError (/usr/lib/node_modules/homebridge-rinnai-controlr/node_modules/axios/lib/core/createError.js:16:15)
        at settle (/usr/lib/node_modules/homebridge-rinnai-controlr/node_modules/axios/lib/core/settle.js:17:12)
        at IncomingMessage.handleStreamEnd (/usr/lib/node_modules/homebridge-rinnai-controlr/node_modules/axios/lib/adapters/http.js:322:11)
        at IncomingMessage.emit (node:events:525:35)
        at endReadableNT (node:internal/streams/readable:1358:12)
        at processTicksAndRejections (node:internal/process/task_queues:83:21)

400 response

Not sure what's going on here, but can no longer communicate with device. Works perfectly with control-r app, I've tried reinstalling from scratch, deleting cache, etc to no avail

[11/15/2022, 12:57:32 PM] [RinnaiControlR] setRecirculateActive to true for device AC000W010679060 [11/15/2022, 12:57:32 PM] [RinnaiControlR] Sending state to Rinnai. Endpoint: https://698suy4zs3.execute-api.us-east-1.amazonaws.com/Prod/thing/CR_267313c5-373d-4d23-bd44-ed6699ef0bf9/shadow Request: {"method":"patch","body":"{\"set_priority_status\":true,\"recirculation_duration\":\"15\",\"set_recirculation_enabled\":true}","headers":{"User-Agent":"okhttp/3.12.1","Content-Type":"application/x-www-form-urlencoded","Accept-Encoding":"gzip","Accept":"application/json, text/plain, */*","Authorization":"Bearer eyJraWQiOiJIank1K2NPZUhvWHQyaU5wOVJxa2dHd3grajRLXC93T3FkRytRZ2ZmV0RDcz0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI5Y2I2YTZjMC0yZjgyLTQzMWEtYjI5Yy04MDdjMTY5N2FmNWQiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfT2N3cFJRYk1NIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjp0cnVlLCJjb2duaXRvOnVzZXJuYW1lIjoiZXJpYy5mcmFuY2lzY29AbWUuY29tIiwiYXVkIjoiNWdocTNpNms0cDlzN2RmdTM0Y2ttZWM5MSIsImV2ZW50X2lkIjoiMzdmMjM5NWMtNjQ2Yy00NjQxLWJjZTMtMzdjMzM5NWNjZTg2IiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE2Njg1MzQ5OTcsInBob25lX251bWJlciI6IisxOTE5ODAyNzk3MyIsImV4cCI6MTY2ODUzODU5NywiaWF0IjoxNjY4NTM0OTk3LCJlbWFpbCI6ImVyaWMuZnJhbmNpc2NvQG1lLmNvbSJ9.Ox_qel-lH0ZO8O0do-_Q_z7LrY-jcR9lWkghez-GIT3qfC7_HoyPEsC6EqjoGKjvXuzc3FBOzvmdfDjnyYm_jXvJXNdQfNSrdEGE7kEmEG9G8B6B3-ofUGXo1VYHPSfF64Xc2P6WT_4etK9BoBcRlkViWq11KV7r7S6ORiXHQjyCResNJWsj9mckSAZFy5YGzvH9CZbnHT9ctMbX_IiG6FEaHLydNwQzPhm2mXhOASrzhNSDvwkgkF5X_GyEV8V1u4BnoWvU91qc7DaHRiOgd4-ZFbwLo3yZDEom6zNnwop_zqeeccYvU1hUMIcCDNp-K0MVo2Q00FHI0Rscbj_jzQ"}} [11/15/2022, 12:57:32 PM] [RinnaiControlR] Set state responded with 400 Bad Request. Body: {}

API or Authentication broken?

Describe The Bug:
No longer able to authenticate with the Rinnai api.

The plugin has been working great for the last few months we have been using it. Today, I noticed the recirculation was no longer being triggered from our motion sensors. Investigating in homebridge logs showed an issue authenticating. Even though the error says “incorrect username or password”, I verified this is not the case by logging in with the same credentials vai the Control-R app. (Besides things have been working for months without any changes to my system.) Further tried restarting Homebridge, rebooting the device, uninstalling and reinstalling the plugin. Same results and same error log every time.

I assume the Control-R api has been changed in some way or the API_KEY hard-coded within the plugin’s constants file needs to be updated, but I’m not quite clear on how to debug the plugin on my end.

To Reproduce:
Install the plugin.
Configure with your credentials.
Restart Homebridge and check your logs.
Try to control your water heater from Homebridge or Homekit.

Expected behavior:
Authentication does not fail when correct credentials are provided.
Perhaps more precise error logs depending on the root cause of the issue.

Logs:

Caught error authenticating. NotAuthorizedException: Incorrect username or password.
at /usr/lib/node modules/homebridge-rinnai-controlr/node modules/amazon-cognito-identity-j s/lib/Client.js:129:19
at processticksAndRejections (node: internal/process/task queues: 96:5) {
code:
"NotAuthorizedException'

Plugin Config:

{
    "username": "xxxx",
    "password": "xxxx",
    "recirculationDuration": 15,
    "temperatureUnits": "F",
    "minimumTemperature": 120,
    "maximumTemperature": 140,
    "platform": "RinnaiControlR",
    "name": "Rinnai"
}

Screenshots:

Environment:

  • Plugin Version: 1.0.25
  • Homebridge Version: 1.6.0
  • Node.js Version: 16.14.2
  • NPM Version: 8.5.0
  • Operating System: Raspbian

Recirculation button does not work.

Describe Your Problem:

The recirculation button does not work. Notice the "device null" in the last log line. Looks different the other logs posted. Is it a bug or just a misconfiguration?

Logs:

[4/22/2023, 9:03:13 PM] [homebridge-rinnai-controlr] Launched child bridge with PID 2335128
[4/22/2023, 9:03:14 PM] Registering platform 'homebridge-rinnai-controlr.RinnaiControlR'
[4/22/2023, 9:03:14 PM] [homebridge-rinnai-controlr] Loaded homebridge-rinnai-controlr v1.0.25 child bridge successfully
[4/22/2023, 9:03:14 PM] Loaded 1 cached accessories from cachedAccessories.0E53C1734C3B.
[4/22/2023, 9:03:15 PM] [homebridge-rinnai-controlr] Temperature units set to F. All values from config and from Rinnai will be converted to C.
[4/22/2023, 9:03:15 PM] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-rinnai-controlr) is running on port 40228.
[4/22/2023, 9:05:41 PM] [homebridge-rinnai-controlr] setRecirculateActive to true for device null

Plugin Config:

{
            "username": "[email protected]",
            "password": "***********",
            "recirculationDuration": 15,
            "temperatureUnits": "F",
            "minimumTemperature": 120,
            "maximumTemperature": 140,
            "_bridge": {
                "username": "0E:53:C1:73:4C:3B",
                "port": 40228
            },
            "platform": "RinnaiControlR"
        }

Screenshots:

Environment:

  • Plugin Version: homebridge-rinnai-controlr v1.0.25
  • Homebridge Version: 1.6.0*
  • Node.js Version: v18.16.0
  • NPM Version: 9.5.1
  • Operating System: Linux raspberrypi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux
  •  hb-service v4.50.2
    

Logic flaw in Min and Max temperature compares

I really really appreciate your efforts with this plugin and if there is anything I can do to help make it better, or support you I will do it please reach out. I did submit this issue previously, but it was closed. I believe there is a logic flaw, please take a second look.

I am not a developer, but in testing multiples of values there appears to be a logic flaw in the Min vs Max temperature settings. I should state that I have my temperature set to 125 F within the Control-R app prior to enabling this plugin and never change it. Also, the Celsius setting appears to be ignored, or at least handled incorrectly. It's somewhat difficult to discern as the output uses Celsius values even though the code is using Fahrenheit. Notice this log output when using 125.1 min and 125.1 max:
[3/8/2022, 4:00:39 PM] [homebridge-rinnai-controlr] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number 51.666666666666664 exceeded minimum of 51.722222222222214.

When using 120.1 min and 120.2 max:
[3/8/2022, 4:07:35 PM] [homebridge-rinnai-controlr] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number 51.666666666666664 exceeded maximum of 49.

Now notice when I change from F to C, and use 51.6 min and 51.6 max:
[3/8/2022, 4:04:43 PM] [homebridge-rinnai-controlr] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 125 exceeded maximum of 51.6.

Plugin Config:
This is my desired config, I don't want to change temperature with this plugin, I only want the recirculation.

        {
            "username": "xxx",
            "password": "XXX",
            "recirculationDuration": 15,
            "temperatureUnits": "F",
            "minimumTemperature": 125,
            "maximumTemperature": 125,
            "platform": "RinnaiControlR"
        }

Environment:

  • Plugin Version: v1.0.14
  • Homebridge Version: v1.4.0
  • Node.js Version: v16.13.2
  • NPM Version: v8.1.2
  • Operating System: Docker running Alpine Linux (3.12.9)

Recirculation only runs for 5 min

Describe The Bug:

I want recirculation mode to run for 1 hr, for example. I turn recirculation on and after about 5 minutes it automatically shuts off.

To Reproduce:

Goto Accessories and select Recirculation. If recirculation is avaliable the button will enable indicating recirculation has begun.
After 5 min press F5 and you will see that recirculation has automatically been shut off.

Expected behavior:

I expect recirculation to stay on either to the presset value in the JSON config("Duration in minutes that recirculation will run when toggled") or until it is toggled off through automation.

Logs:

Do not know what logs would be helpful.
"id": Stuff
"thing_name": Stuff
"device_name": "Chiller",
"dealer_uuid": null,
"city": Stuff
"state": null,
"street": null,
"zip": null,
"country": Stuff
"firmware": "238",
"model": null,
"dsn": Stuff
"user_uuid": Stuff
"connected_at": null,
"key": null,
"lat": null,
"lng": null,
"address": null,
"vacation": null,
"createdAt": "2022-08-02T22:37:12.049Z",
"updatedAt": "2022-08-10T23:17:50.431Z",
"activity": {
"clientId": Stuff
"serial_id": Stuff
"timestamp": "1661538412320",
"eventType": "connected"
},
"shadow": {
"heater_serial_number": Stuff
"ayla_dsn": null,
"rinnai_registered": null,
"do_maintenance_retrieval": true,
"model": null,
"module_log_level": null,
"set_priority_status": true,
"set_recirculation_enable": null,
"set_recirculation_enabled": true,
"set_domestic_temperature": "130",
"set_operation_enabled": true,
"schedule": "017707770d771377",
"schedule_holiday": false,
"schedule_enabled": true,
"do_zigbee": null,
"timezone": "EST5EDT,M3.2.0,M11.1.0",
"timezone_encoded": null,
"priority_status": true,
"recirculation_enabled": true,
"recirculation_duration": "5",
"lock_enabled": false,
"operation_enabled": true,
"module_firmware_version": "238",
"recirculation_not_configured": true,
"maximum_domestic_temperature": null,
"minimum_domestic_temperature": null,
"createdAt": "2022-08-02T22:36:53.975Z",
"updatedAt": "2022-08-26T18:54:25.629Z"
},
"monitoring": null,
"schedule": {
"items": [
{
"id": Stuff
"serial_id": Stuff
"name": "Vic",
"schedule": null,
"days": [
"{0=Su, 1=M, 2=T, 3=W}"
],
"times": [
"{start=5:45 am, end=7:45 am}"
],
"schedule_date": "2022-08-17T06:06:14-04:00",
"active": true,
"createdAt": "2022-08-17T10:06:14.750Z",
"updatedAt": "2022-08-17T10:06:14.750Z"
},
{
"id": Stuff
"serial_id": Stuff
"name": "test",
"schedule": null,
"days": [
"{4=Th, 5=F, 6=S}"
],
"times": [
"{start=5:30 am, end=8:30 am}"
],
"schedule_date": "2022-08-26T02:31:45-04:00",
"active": false,
"createdAt": "2022-08-26T06:31:46.056Z",
"updatedAt": "2022-08-26T18:31:59.561Z"
}
],
"nextToken": null
},
"info": {
"serial_id": Stuff
"ayla_dsn": null,
"name": Stuff
"domestic_combustion": "false",
"domestic_temperature": "130",
"wifi_ssid": "Salarno",
"wifi_signal_strength": "-54",
"wifi_channel_frequency": "2462",
"local_ip": Stuff
"public_ip": Stuff
"ap_mac_addr": Stuff
"recirculation_temperature": null,
"recirculation_duration": null,
"zigbee_inventory": "[]",
"zigbee_status": null,
"lime_scale_error": null,
"mc__total_calories": null,
"type": null,
"unix_time": null,
"m01_water_flow_rate_raw": "0",
"do_maintenance_retrieval": null,
"aft_tml": null,
"tot_cli": null,
"unt_mmp": null,
"aft_tmh": null,
"bod_tmp": null,
"m09_fan_current": "76",
"m02_outlet_temperature": "129",
"firmware_version": null,
"bur_thm": null,
"tot_clm": null,
"exh_tmp": null,
"m05_fan_frequency": "300",
"thermal_fuse_temperature": null,
"m04_combustion_cycles": "168",
"hardware_version": null,
"m11_heat_exchanger_outlet_temperature": "132",
"bur_tmp": null,
"tot_wrl": null,
"m12_bypass_servo_position": "37",
"m08_inlet_temperature": "123",
"m20_pump_cycles": "10",
"module_firmware_version": null,
"error_code": " ",
"warning_code": " ",
"internal_temperature": null,
"tot_wrm": null,
"unknown_b": null,
"rem_idn": null,
"m07_water_flow_control_position": "1",
"operation_hours": null,
"thermocouple": null,
"tot_wrh": null,
"recirculation_capable": "true",
"maintenance_list": "1,2,3,4,5,6,7,8,9,10,11,12,15,19,20,21,100,101,102,120,121,122",
"tot_clh": null,
"temperature_table": "2",
"m19_pump_hours": "0",
"oem_host_version": null,
"schedule_a_name": null,
"zigbee_pairing_count": null,
"schedule_c_name": null,
"schedule_b_name": null,
"model": null,
"schedule_d_name": null,
"total_bath_fill_volume": null,
"dt": null,
"createdAt": "2022-08-02T22:37:12.049Z",
"updatedAt": "2022-08-26T18:54:16.640Z"
},
"errorLogs": {
"items": [],
"nextToken": null
},
"registration": {
"items": [],
"nextToken": null
}
}
[8/26/2022, 2:54:26 PM] [homebridge-rinnai-controlr] Temperature Slider Min: 48.888888888888886, Max: 60, current temperature: 54.44444444444444
[8/26/2022, 2:54:26 PM] [homebridge-rinnai-controlr] Device Stuff has recirculation capabilities. Adding service.
[8/26/2022, 2:54:26 PM] [homebridge-rinnai-controlr] Polled 1 Rinnai devices successfully.

Show the Homebridge logs here, remove any sensitive information.

**Plugin Config:**
{
    "username": "Stuff",
    "password": "Stuff",
    "recirculationDuration": **60**,
    "temperatureUnits": "F",
    "minimumTemperature": 120,
    "maximumTemperature": 140,
    "platform": "RinnaiControlR",
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version: homebridge-rinnai-controlr v1.0.16
  • Homebridge Version: v1.5.0 (HAP v0.10.2)
  • Node.js Version: v16.16.0
  • NPM Version:
  • Operating System: Ubuntu Focal Fossa (20.04.4 LTS)

The problem is also in Home Assistant. Scheduled recirculation works as expected from the Control-R interface.Following is three attemps vis HomeBridge,Home kit and Home assistant. Each instance only ran for 5 min.
image
Following is an attempt @5:30-8:30 that was run from the Control-R interface and it worked as expected.
image

Recirculation feature no longer working?

Describe The Bug:
Can no longer turn recirculation on with the plug-in. The state of recirculation still appears to be read correctly (if I turn it on externally via the control-r app), but I can no longer turn on recirc via this plugin. This is a recent development, within the past 48 hours.

To Reproduce:
Try to turn on recirculation via the homebridge switch, nothing happens.

Expected behavior:
Recirculation should turn on.

Logs:
No logs produced.

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

Change “Heating to” to “Heat to”

The icon in Home.app says “Heating to xxx” and always throws me off thinking it is actively heating. Does it make sense to change that to “Heat to xxx”? That also matches the way thermostats display when it is not actively heating.

Recirc command does not appear to have been sent to ControlR

Describe The Bug:
I just reinatalled the plugin (rebuilding HB), and the Recirc switch does not change the unit into recirc (based on vendor app status).
In looking at the log, it appears the device is referred to as "null":
[28/04/2024, 15:51:50] [RinnaiControlR] setRecirculateActive to true for device null

To Reproduce:
Click the switch on my iPhone

Expected behavior:
Recirc should start

Logs:

[28/04/2024, 15:51:50] [RinnaiControlR] setRecirculateActive to true for device null

Plugin Config:

{
"username": "[email protected]",
"password": "thisismypassword",
"recirculationDuration": 15,
"temperatureUnits": "F",
"minimumTemperature": 120,
"maximumTemperature": 140,
"platform": "RinnaiControlR"
}

Screenshots:

image1
image0
Environment:

  • Plugin Version: v1.0.26

  • Homebridge Version: v1.8.1

  • Node.js Version: v20.12.2

  • NPM Version: unknown

  • Operating System: Raspbian

Question: State Info?

I'm considering adding the wifi module to my Rinnai - so I can't test this myself.

What kind of state information is available? Are events generated when the heat or recirc is running?

Ty!

Turn on And Off (vacation)

Is there any way tu turn off the water heater
Or turn on , on the app control R there are vacation mode , but some tiene when you have a power outage it could a good button or tu turn off or on thank you !!

Is your feature request related to a problem? Please describe:

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

Warnings being generated

Using the default values, and not even trying to change the temp via Homekit I am seeing warnings like these spamming constantly. My water heater display shows 125 degrees F, I never change the temp. Please advise, I've removed the plugin for now I don't want to risk any damage to the expensive unit. My Rinnai unit is model: RUR199iN, natural gas. App version: 2.5.6, Firmware version: 233

[2/7/2022, 1:52:45 PM] [homebridge-rinnai-controlr] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 43.333333333333336 exceeded minimum of 48.888888888888886. See https://git.io/JtMGR for more info.
[2/7/2022, 1:52:45 PM] [homebridge-rinnai-controlr] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number 43.333333333333336 exceeded minimum of 48.888888888888886. See https://git.io/JtMGR for more info.
[2/7/2022, 1:52:45 PM] [homebridge-rinnai-controlr] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 43.333333333333336 exceeded minimum of 48.888888888888886. See https://git.io/JtMGR for more info.
[2/7/2022, 1:52:45 PM] [homebridge-rinnai-controlr] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number 43.333333333333336 exceeded minimum of 48.888888888888886. See https://git.io/JtMGR for more info.

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.