swamp-ig / homeassistant_izone Goto Github PK
View Code? Open in Web Editor NEWHome Assistant IZone Integration
License: MIT License
Home Assistant IZone Integration
License: MIT License
I am always frustrated when I try to connect to the hub while home assistant is running from a docker container.
It is said:
Network settings
The iZone system uses UDP broadcasts over the local network to find and communicate with iZone devices. For this to work properly, UDP port 12107 must be able to be broadcasted on, 7005 needs to be listened to for broadcasted messages, and TCP port 80 for HTTP data to the bridge. The integration currently listens on 0.0.0.0 and broadcasts to all broadcast IPv4 local addresses, which is not configurable.
But I cant find a way to fetch the hub network on the host wifi interface, ha is only looking at the docker interface
add possibility to specify host ip address/info (id) manually
trying to run the container with --net=host option and then change the network adapter but could not access ha UI
ha is run on docker
I want to get the trage temp from a zone - I am able to get the current temp,m but what is the setting for traget temp ? As below current temp works, but target temp is always unknown. I assume it is a different variable but i dont understand the code as i sam not a dev.
- name: "Cameron Temperature"
unique_id: "Cameron Temperature"
unit_of_measurement: "°C"
icon: mdi:thermometer
state: "{{ state_attr('climate.cameron','current_temperature') }}"
- name: "Cameron Target Temperature"
unique_id: "Cameron Target Temperature"
unit_of_measurement: "°C"
icon: mdi:thermometer
state: "{{ state_attr('climate.cameron','target_temperature') }}"
I would make a sensor for each zone's target temp.
I can then compare it with each zones current temp and do automations based on both.
I have looked at the code - bit i m not good enough to understand it......
This works - state: "{{ state_attr('climate.cameron','current_temperature') }}"
This does not - state: "{{ state_attr('climate.cameron','target_temperature') }}"
***** You can ignore this - like a dog with a bone, I figured it all out - I need to spend more time in the developer tools section -
service: climate.set_temperature
target:
area_id: cobys_room
data:
temperature: 30
Your integration is the best one I have - It is so much faster than using the izone app for anything. I have made a nice ipone dashboard screen of temps and sensors from your values and it is so cool - (no pun intended)
I have been researching this. I am told that I should be able to use a service to set a target temp for a zone via an automation.
Basically, as the temps rise due to it being 45 degrees outside, there is no way the air con can keep up and it goes to 5KW usage. I have to manually push the target temps up for each zone to keep the power usage down - seeing as it can never get those temps anyway. This manual work I want to automate - and I am almost there.
I am quite new to this and fumbling around all over.
Services are in the doco for the integration various googling says. But I cant find a service for this.
I have got the trigger stuff working how I want and can see the value I wish to put in to the zone target temperature but I just cant figure out how to 'set' it.
Your integration is the best one I have - It is so much faster than using the izone app for anything. I have made a nice ipone dashboard screen of temps and sensors from your values and it is so cool - (no pun intended)
I have been researching this. I am told that I should be able to use a service to set a target temp for a zone via an automation.
Basically, as the temps rise due to it being 45 degrees outside, there is no way the air con can keep up and it goes to 5KW usage. I have to manually push the target temps up for each zone to keep the power usage down - seeing as it can never get those temps anyway. This manual work I want to automate - and I am almost there.
I am quite new to this and fumbling around all over.
Services are in the doco for the integration various googling says. But I cant find a service for this.
I have got the trigger stuff working how I want and can see the value I wish to put in to the zone target temperature but I just cant figure out how to 'set' it.
I have this below to check if the temp is higher than the set point +0.5, then pull out a value that I then want to put in as the new set point - once I get one automation working, I can copy and edit it for the other 5 zones. Then some form of reset nightly will be done (or automation to bring it back down again - not worries about that currently 👍 I made these sensor states from your state attributes 👍
- name: "Coby Temperature"
unique_id: "Coby Temperature"
unit_of_measurement: "°C"
icon: mdi:thermometer
state: "{{ state_attr('climate.coby','current_temperature') }}"
- name: "Coby Target Temperature"
unique_id: "Coby Target Temperature"
unit_of_measurement: "°C"
icon: mdi:thermometer
state: "{{ state_attr('climate.coby','temperature') }}"
This is what I have so far for the automation :
trigger:
- platform: template
value_template: "{{ (states('sensor.coby_temperature')|float > states('sensor.coby_target_temperature')|float +0.5) }}"
action:
- service: input_number.set_value
data:
entity_id: input_number.coby_auto_set_target_temp
value: "{{ states('sensor.coby_target_temperature')|float +1 }}"
If it is true, then I have a value output that I want to set for the new zone target temperature - which I imagine is done via a service - but I cant see one in your doco ?
None
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.