kolaf
Medlemmer-
Innlegg
19 -
Ble med
-
Besøkte siden sist
-
Dager vunnet
1
Innholdstype
Profiler
Forum
Blogger
Nedlastninger
Artikler
Regler
Hendelser
Galleri
Store
Alt skrevet av kolaf
-
Finne de billigste strømtimene i Home Assistant
kolaf svarte på stigvi sitt emne i Strømsparing og strøm-overvåkning
Om jeg husker rett er det integrasjonen som setter det attributtet. Settes i forhold til en prosentvis terskel av døgnets høyeste pris, tror jeg. Terskelverdier kan settes i konfigurasjonen. -
Strålende. Ingenting er bedre enn at noen andre tar tak og lager der min tid ikke strekker til. Om dette blir fulgt opp så bytter jeg sikker jeg og 😄
-
Beklager litt fravær. @torhaalaEr fortsatt bare read only såvidt jeg vet. @BalleClorin Takk, skal se på det straks jeg får tid igjen. Har endelig fått ny feedback på min PR til HA, så får forhåpentligvis tatt tak i den etterhvert også.
-
Ny versjon 0.1.5 er lastet opp. Ikke mye nytt, men tror jeg omsider har fått has på stabiliteten. Homely sitt API er ganske ustabilt, men jeg tror jeg nå endelig håndterer det på en god måte.
-
We are slowly getting there. New version 0.1.4 has been uploaded. The last version 0.1.3 has been quite stable for the past 24 hours, so I believe I have resolved the issue with the websocket disconnecting from time to time. This version solves an issue where the instability of the Homely API endpoint causes the sensors to be "unknown" if it fails during a poll. They will be marked as unknown until the next poll five minutes later. I have tried to rectify this by allowing it to fail two times before throwing an error. Since we still probably are connected to the web socket the user should not notice this at all. This also means that if everything fails can take 15 minutes before the system shows as unavailable/unknown. 0.1.4 also adds support for "Heat Alarm" and "Motion Sensor 2 Alarm" model names. Also, to follow-up the yale doorman issue above, it seems that this device is not included in the data feed from Homely, unfortunately.
-
Ny feil følger. Versjon 0.1.3 er lastet opp. Om du følger readme til https://github.com/kolaf/homelypy og sender meg json filen så får jeg sikkert laget støtte for dørlåsen etterhvert.
-
Lastet akkurat opp Homely 0.1.2 for HA som fikser problemer med disconnect etter en stund. Håper den kjører stabilt nå. Google drive
-
I just updated the existing version 0.1.0 to correctly handle alarm states for the house. I have left the code that polls every five minutes, so this should still work as a fallback if the socket disappears.
-
I have now uploaded version 0.1.0 to Google Drive. It is updated to use my newly pushed homelypy 0.1.0 where I have finally gotten the websocket to work. This is thanks to very useful help from this implementation: https://github.com/hansrune/homely-tools. The trick is to use socketio instead of the python websocket-client library. The latest version of integration should support streaming updates of entities, so that door sensors, alarms, et cetera are updated in real time. I have not had a chance to run this for a longer period yet, so I am not sure what the stability of the connection looks like. It might well be that I will have to improve the reconnection functionality. Let me know how this works for you.
-
If anyone wants to check it out you can download version 0.0.2 from this location: https://drive.google.com/drive/folders/1D-obD-u7v_-Q1A0Ik1d_gXdq4WpDZwy0?usp=share_link It should be as simple as creating a folder "custom_components" inside your HA configuration folder, create a folder "homely" beneath this and unpacking the files into the homely folder. After restarting HA you should be able to add the integration through the integration page. It supports basic states and binary sensors for the devices I know about. If your device is missing I need a dump to know the model names. I have also added a basic alarm control panel entity. This is very restricted since we do not have write access to the API, but at least it should show the arming state of the alarm system. The system still relies on polling every five minutes, so do not expect to see every door and window opening and it can take up to 5 minutes before an alarm state is updated. I'm still waiting for my initial pull request with the sensor entities to go through, it is taking a while longer than expected since the response from their site has been very slow. In the meantime we can play around with this. If anyone has any experience with the homeassistant alarm entitis I would be glad to learn since this version with non-functioning buttons will probably not be accepted. Thanks. It is a shame that you did not get anywhere with the websocket since this is required to make an alarm system truly useful. How often do you poll for state updates? I chose five minutes as a compromise, but more often would be better :-). I have not installed my door lock yet (it's lying on a shelf), but I am considering joining this directly in homeassistant instead of through homely.
-
Still waiting for the pull request.
-
Takk. Testet og nå får jeg temperatur 😄
-
-
This is strange, I did not see any of the values from your screenshot in the logs for my plug. I have the following definition file, and no unknown or on captured reports in the debug logs. const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const exposes = require('zigbee-herdsman-converters/lib/exposes'); const reporting = require('zigbee-herdsman-converters/lib/reporting'); const extend = require('zigbee-herdsman-converters/lib/extend'); const e = exposes.presets; const ea = exposes.access; const definition = { zigbeeModel: ['4512749'], // The model ID from: Device with modelID 'lumi.sens' is not supported. model: '4512749', // Vendor model number, look on the device for a model number vendor: 'Namron', // Vendor of the device (only used for documentation and startup logging) description: 'Namron thermostat plug', // Description of the device, copy from vendor site. (only used for documentation and startup logging) fromZigbee: [fz.on_off, fz.electrical_measurement], // We will add this later toZigbee: [tz.on_off], // Should be empty, unless device can be controlled (e.g. lights, switches). exposes: [e.switch()], // Defines what this device exposes, used for e.g. Home Assistant discovery and in the frontend }; module.exports = definition;
-
I purchased one a few weeks ago. It was not natively supported by zgibee2mqtt so I had to hack together a definition file for it. It is weird that they call it a thermostat plug since it does not offer temperature measurements. I was not able to find any data from it that has anything to do with power measurements, either, but I might have done something wrong when building my own definition file. This is how it looks now: Unless someone figures out a better way to integrate it and discovers the missing features I would keep away from it.
-
Sorry for writing in English, I'm using speech recognition to avoid having to type out long Norwegian sentences because of tendinitis. I have just started developing an integration for Homely integration for Home Assistant. My initial pull request is currently in review, and once this is accepted we should be able to poll the Homely API for various sensor data. I currently only support the following devices: Door sensor Smoke alarm Motion sensor mini These are the only devices I have, and the documentation is not very extensive. The keypad and siren does not seem to appear in the API. If you have additional devices, please consider downloading the helper package homelypy, run it, and provide me with the dump as described in the readme file. It should provide me with the necessary information to add support for any included device. Or better yet, create a pull request with the additional devices :-). Note that the API is currently only read-only, so we can only receive telemetry data from the devices, not control them. It is therefore not possible to e.g. arm the alarm or sound the siren. I do not know if or when they are planning to improve this, but hopefully soon 🤞 The method for getting things into Home Assistant is a bit slow, so I am only allowed to include a single platform in the first round. I have chosen sensors, so we get temperature, battery level, and signal strength for each device. The binary sensors have already been created (alarm state and battery low state), but I have to wait until the initial pull request is approved. On my list is also to create a separate device that represents the home alarm system to show the various states of arming and alarming. Depending on how slow things go I might get everything approved before the next release, maybe. Unfortunately I have not gotten the web socket interface to work correctly, yet, I have a support request waiting with the guys at Homely. Until I figure this out the integration only supports polling and is set up to do this every five minutes to avoid any throttling issues. My ongoing development branch is here: https://github.com/kolaf/core/tree/homely/homeassistant/components/homely And the associated pull request is here: https://github.com/home-assistant/core/pull/84951 If you have any comments, suggestions, or want to chip in, just let me know. And, of course, feel free to reply in Norwegian. Kolaf
-
Har en pull request inne på et første forsøk nå. Den er enkel og støtter kun bevegelsessensor, røykvarsler og dørsensor siden det er det jeg har. Får ikke til å koble til websocket ennå så venter på Homely support. Baserer meg derfor foreløpig på polling. Funker for temp og slik, men ikke bevegelse og alarm. https://github.com/home-assistant/core/pull/84951 Kanskje lage en egen tråd på dette etterhvert.
-
Jeg har fått dokumentasjon fra homely og lurer på å lage støtte til Home Assistant. Har ikke orket å gå igang ennå, har ikke laget noe til Home Assistant tidligere, men har mye python erfaring. Er det noen andre som har noe erfaring med Home Assistant?
- 12 svar
-
- 1
-
Finne de billigste strømtimene i Home Assistant
kolaf svarte på stigvi sitt emne i Strømsparing og strøm-overvåkning