Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


davidcole

6034 posts

Uber Geek

Trusted

#235926 10-May-2018 08:14
Send private message

I'm fairly all in on OpenHAB....but I see discussions about Home Assistant, and there are aspects of it I like (python vs java, and the number of addons for pre bought toys).

 

Now a caveat, I don't have a lot of pre bought toys, most of mine are mqtt based, scripts (integration to paradox, temp sensors based on raspberry pi/esp8266/homie).

 

For these I've found the homeassistant less than simple to set up as all the sensors are in the configuration.yaml or now a sensors.yaml, the config isn't "Pretty" nor straight forward in my eyes.   I can get over that....but I don't seem to be able to groupd things nicely.

 

My HASS looks like:

 

Click to see full size

 

You can see the single Sensor for Cupboard (23.10) and in the switches the Cupboard (its a rasp pi controlled fan).

 

In openhab, I can group all these together (and you can see all the extras I also have)

 

Click to see full size

 

This is the main screen, then the Cupboard group, you can see all the entries in there, how does this work in HASS? and how can you get a similar look - or am I just barking up the wrong tree?

 

 

 

@sumnerboy @ajobbins @bartender @chris021

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
sonyxperiageek
2959 posts

Uber Geek

Trusted

  #2013116 10-May-2018 09:34
Send private message

How are your temp sensors made?





Sony




davidcole

6034 posts

Uber Geek

Trusted

  #2013146 10-May-2018 10:20
Send private message

sonyxperiageek:

 

How are your temp sensors made?

 

 

Which one?  cool  I have some zwave multisensors, one is raspberry pi with DHT22 connected (using python to mqtt), two are esp8266 using mqtt (homie framework), and there are also some that are on a raspberry pi with a bluetooth adapter, that pulls blutooth advertising packets and pushes these out via mqtt.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


premiumtouring
355 posts

Ultimate Geek


  #2013176 10-May-2018 10:29
Send private message

Watching this thread with keen interest as I'm new to HASS, because I dislike Java, and felt Python has more potential.





-




davidcole

6034 posts

Uber Geek

Trusted

  #2013185 10-May-2018 10:37
Send private message

So in open have all these exist in one config file (with other items that use a dht sensor.

 

[code]

 

Number gf_cupboard1_temperature_sensor {mqtt="<[openhab:sensors/dht/cupboard/temperature/degrees:state:default]"}
Number gf_cupboard1_temperature_max "Todays Maximum [%.1f °C]" <temperature> (g_cupboard)
Number gf_cupboard1_temperature_min "Todays Minimum [%.1f °C]" <temperature> (g_cupboard)

 

Number gf_cupboard1_uptime "Uptime [%s]" <clock> (g_cupboard) {mqtt="<[openhab:sensors/dht/cupboard/$uptime:state:default]"}
Contact gf_cupboard1_online "Online [%s]" (g_cupboard) {mqtt="<[openhab:sensors/dht/cupboard/$online:state:MAP(onoff.map)]"}

 

/* Fan control switch */
Switch gf_cupboard1_fan "Fan Control [%s]" <fan> (g_cupboard,g_controlpersist) ["Switchable"] {mqtt=">[openhab:sensors/dht/cupboard/fan:command:ON:1],>[openhab:sensors/dht/cupboard/fan:command:OFF:0],<[openhab:sensors/dht/cupboard/fanstate:state:default]"}

 

[/code]

 

In HASS I have a sensors.yaml being read....would be nice to break them down further, but I couldn't get the directory loading to work./

 

 

#master bedroom
- platform: mqtt
name: 'Master Bedroom'
state_topic: sensors/dht/brmaster/temperature/degrees

 

#Cupboard bedroom
- platform: mqtt
name: 'Cupboard'
state_topic: sensors/dht/cupboard/temperature/degrees

 

#Garage
- platform: mqtt
name: 'Garage'
state_topic: sensors/d1mini/garage-sensor/temperature/degrees

 

 

But I can see a way of assigning them to a group or location to pretty up the interface"





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


ajobbins
5052 posts

Uber Geek

Trusted

  #2013244 10-May-2018 11:28
Send private message

In my configuration.yaml I have the following:

 

group: !include groups.yaml

 

and then a separate file called groups.yaml that looks like this:

 

Click to see full size

 

which does this in the UI:

 

Click to see full size

 

Note you can have multiple tabs. I have my cameras in a separate tab.





Twitter: ajobbins


davidcole

6034 posts

Uber Geek

Trusted

  #2013246 10-May-2018 11:32
Send private message

ok, so that seems to be the equivalent (almost) to a sitemap in OH, so where are the entities?  like the aeotec sensors?

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


ajobbins
5052 posts

Uber Geek

Trusted

  #2013251 10-May-2018 11:37
Send private message

davidcole:

 

ok, so that seems to be the equivalent (almost) to a sitemap in OH, so where are the entities?  like the aeotec sensors?

 

 

If you go to <<YOUR-HA-URL>>/dev-state (or click the < > icon under Developer Tools on the left panel), you can see all the entities and their names. Grab the name and put it in a group.

 

Click to see full size





Twitter: ajobbins


 
 
 
 

Send money globally for less with Wise - one free transfer up to NZ$900 (affiliate link).
davidcole

6034 posts

Uber Geek

Trusted

  #2013253 10-May-2018 11:39
Send private message

ajobbins:

 

davidcole:

 

ok, so that seems to be the equivalent (almost) to a sitemap in OH, so where are the entities?  like the aeotec sensors?

 

 

If you go to <<YOUR-HA-URL>>/dev-state (or click the < > icon under Developer Tools on the left panel), you can see all the entities and their names. Grab the name and put it in a group.

 

 

But where are these all defined, or are all yours prebuilt toys?  So You've not had to configure them?





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


ajobbins
5052 posts

Uber Geek

Trusted

  #2013255 10-May-2018 11:42
Send private message

davidcole:

 

But where are these all defined, or are all yours prebuilt toys?  So You've not had to configure them?

 

 

Pretty much all using HA components that result in the entity creation. 





Twitter: ajobbins


davidcole

6034 posts

Uber Geek

Trusted

  #2013259 10-May-2018 11:44
Send private message

ajobbins:

 

davidcole:

 

But where are these all defined, or are all yours prebuilt toys?  So You've not had to configure them?

 

 

Pretty much all using HA components that result in the entity creation. 

 

 

Booo, and you call yourself a geek. tongue-out  

 

So I think I was on the right path.  Create all the sensors things, then the next step if to do all that group and entities stuff you've got.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


scottjpalmer
5973 posts

Uber Geek

Moderator
ID Verified
Trusted
Lifetime subscriber

  #2013267 10-May-2018 11:50
Send private message

@ajobbins > @davidcole

THE END

Nzengsaif
34 posts

Geek

Fusion Automation

  #2013282 10-May-2018 12:05
Send private message

David, which one do you prefer to use going forward?

 


I use OpenHAB for special jobs at the moment, but few customers said I should try Home Assistance


davidcole

6034 posts

Uber Geek

Trusted

  #2013289 10-May-2018 12:13
Send private message

I currently prefer openHAB. And are just building a new odroid based system.

But I’ll keep playing with hass as there are good aspects to it




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


hio77
12999 posts

Uber Geek

ID Verified
Trusted
Lizard Networks

  #2013385 10-May-2018 13:34
Send private message

graphing (storing and reterving) was the biggest downfall in HA for me. i found i couldn't mix wanting a long term view and short term without it totally killing browsers in GPU draws.





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.

 

 


davidcole

6034 posts

Uber Geek

Trusted

  #2013449 10-May-2018 14:52
Send private message

hio77:

 

graphing (storing and reterving) was the biggest downfall in HA for me. i found i couldn't mix wanting a long term view and short term without it totally killing browsers in GPU draws.

 

 

I tend to have all my data directly in influxdb....and use grafana separately for graphing....but not extensively.

 

 

 

I assume HA has some sort of single state persistence?  In OH it's called mapdb.  With Series data going to influx/mysql

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.