GithubHelp home page GithubHelp logo

Comments (8)

rudders avatar rudders commented on July 19, 2024 1

Can you supply the logs ?

from hue-sensors-hass.

Djelibeybi avatar Djelibeybi commented on July 19, 2024 1

I have Hue bulbs, dimmers, motion sensors. It just needs a not null check, now that I'm looking at it. Let me take a stab at a PR against master for you.

from hue-sensors-hass.

robmarkcole avatar robmarkcole commented on July 19, 2024

@rudders are you happy to look into this?
@Djelibeybi I'l add a note that the last official release is the stable version
This is the problem with having not a single unit test.. :-)

from hue-sensors-hass.

Djelibeybi avatar Djelibeybi commented on July 19, 2024

@rudders well, there are no real logs. :)

I just added _LOGGER.warning("I got here") lines until I worked out that it was data.update() that failed and then assumed that the last commit was the problem because no-one else was complaining and I only installed it this afternoon.

from hue-sensors-hass.

Djelibeybi avatar Djelibeybi commented on July 19, 2024

@robmarkcole yeah, perhaps a note not to git clone unless one enjoys living on the edge. :)

from hue-sensors-hass.

robmarkcole avatar robmarkcole commented on July 19, 2024

Welcome to open source!
@Djelibeybi if you can put back the offending code and generate an error that would be grea

from hue-sensors-hass.

Djelibeybi avatar Djelibeybi commented on July 19, 2024

FYI, it failed when trying to parse this sensor:

	"7": {
		"state": {
			"buttonevent": null,
			"lastupdated": "none"
		},
		"swupdate": {
			"state": "noupdates",
			"lastinstall": null
		},
		"config": {
			"on": true,
			"battery": 100,
			"reachable": true,
			"pending": []
		},
		"name": "Dining Room Dimmer",
		"type": "ZLLSwitch",
		"modelid": "RWL021",
		"manufacturername": "Philips",
		"productname": "Hue dimmer switch",
		"swversion": "5.45.1.17846",
		"uniqueid": "XX:XX:XX:XX:XX:XX:e3:61-02-fc00",
		"capabilities": {
			"certified": true
		}
	},

The error is simply your standard Cannot setup Hue sensors, check your config message.

And yes, we really haven't hit a button on that dimmer for a long time. :)

from hue-sensors-hass.

rudders avatar rudders commented on July 19, 2024

I can take a look but not for a long while - just hitting Friday night my TZ and have some family commitments. Seems like a odd issue considering my change was very localised.

Do you have a hue dimmer switch?

That’s the only code that changed.

What other hue stuff do you have?

from hue-sensors-hass.

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.