Coder Social home page Coder Social logo

rv-homekit's People

Contributors

jgulick48 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tideline3d

rv-homekit's Issues

Occasional issue with thermostat set temps showing up as 100*

Simply documenting this for now until I can get screenshots.

Sometimes when opening the Home app on my iphone, the 'set temperature' of thermostats is showing as 100*. The state (heating/cooling/off) of the thermostat does correctly show up, but the 'set temperature' defaults to 100*. In the last cases where I saw this, the a/c was already running and showing the correct set temp in the OneControl app, but RVHomekit thinks the set temp is 100*. Next time I see this happen, I will update this issue with screenshots.

Thermostat Heat Source setting

Is it possible to add a thermostat heat source setting? Our rig has the heat pump option on the main a/c, and thus has the settings shown in the attached screenshots. I wasn’t sure how HomeKit could or would handle this type of functionality.
D2581157-5590-45FA-B8FC-D8050760ACE5
B88D208A-9329-4F1E-8DFE-BA4679FED2BB

Thermostat temps stuck at 50*

The LCI apps and LCI web portal are reporting temps of 35-36F but HomeKit sees 50 across all thermostats.

HomeKit does appear to correctly grab the thermostat state, but the temperature readings are all stuck at 50*.

Any ideas?

Screenshots attached.

F72DB1EB-47F3-409E-B9DA-E37F228E4328

3E233CD5-6769-41B3-A519-26918B633397

Connection to existing MQTT broker

When executing rv-homekit on a machine that already has MQTT running, I get the following error:

pi@control:~/rv-homekit $ ./rv-homekit
2021/05/10 10:55:08 /home/pi/rv-homekit
2021/05/10 10:55:08 No config file found. Making new IDs
2021/05/10 10:55:08 Invalid config file format. Starting new.
2021/05/10 10:55:08 Found 0 tank sensors.
2021/05/10 10:55:08 Registered 0 undiscovered devices.
2021/05/10 10:55:08 Connecting to tcp://127.0.0.1:1883
panic: not Authorized

goroutine 36 [running]:
github.com/jgulick48/rv-homekit/internal/mqtt.(*client).Connect(0x2a16370)
        /home/pi/rv-homekit/build/rv-homekit/internal/mqtt/client.go:68 +0x45c
github.com/jgulick48/rv-homekit/internal/rvhomekit.(*client).registerBatteryLevel.func1(0x4f7d24, 0x2a16370)
        /home/pi/rv-homekit/build/rv-homekit/internal/rvhomekit/client.go:194 +0x24
created by github.com/jgulick48/rv-homekit/internal/rvhomekit.(*client).registerBatteryLevel
        /home/pi/rv-homekit/build/rv-homekit/internal/rvhomekit/client.go:192 +0x370

My app is installed in /home/pi/rv-homekit:

pi@control:~/rv-homekit $ ls -al
total 10412
drwxr-xr-x  3 pi pi     4096 May 10 02:30 .
drwxr-xr-x 24 pi pi     4096 May 10 10:24 ..
drwxr-xr-x  3 pi pi     4096 May 10 02:32 build
-rw-r--r--  1 pi pi      114 May 10 02:25 config.json
-rwxr-xr-x  1 pi pi 10644855 May 10 03:18 rv-homekit
pi@control:~/rv-homekit $ pwd
/home/pi/rv-homekit
pi@control:~/rv-homekit $ more config.json
{
  "bridgeName": "My RV",
  "openHabServer": "http://192.168.1.4:8080",
  "debug": true,
  "mqttConfiguration": {
    "host": "192.168.1.10",
    "port": 1883,
    "deviceId": "rv-homekit",
    "username": "[REDACTED]",
    "password": "[REDACTED]"
  },
  "pin": "19191919",
  "port": "12321"
}
pi@control:~/rv-homekit $

How would one direct the connection to an existing MQTT server using a specified username and password?

Thanks!

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.