Madelena / hass-config-public

My Dashboards for Home Assistant - Advanced data visualizations, responsive design, a neat maximalist Metro Live Tile layout, and an ultraminimal tablet layout!
709 stars 57 forks source link

can you help how to make the network rail work? #9

Open itsboo07 opened 1 year ago

itsboo07 commented 1 year ago

image I can get the entities part work. but left of entities how to get that graph type of thing? can you please share that work.. and really love your dashboard ..great work

Normanras commented 1 year ago

If you look in the network.yaml file you'll see it's using the "rail" layout file. I believe the path is: ui/templates/button-card/rail-rows.yaml. So you'll need to load that into your files as well.

But my question for @Madelena is similar - by default, the individual yaml files in HA are not obviously available outside the web ui. I believe if accessing via the CLI, they are hidden in the storage folder.

So when you use !include for a lot of your design components are those files in the default /config directory? Do dashboards consider their root the storage folder?

@itsboo07 since Madelena is on medical leave this month, I would look through the path above and add the appropriate yamls to your config dir. Then include them in your dashboard yaml. In your case, configuring them would start on line 164 of of the network.yaml file.

Hope your surgery went smoothly, Madelena! Looking forward to seeing you back here soon. :)

johanohly commented 1 year ago

A bit unrelated, but I can't seem to find some sensors used in the network view. For example binary_sensor.ping_cloudflare and sensor.speedtest_download, give no results when searching the repository...

Madelena commented 1 year ago

@JohnnyJTH

Cloudflare uses the Ping sensor, and the code looks like this:

sensor:
- platform: ping
  entity_namespace: ping
  host: 1.1.1.1
  name: "Cloudflare"
  count: 3
  scan_interval: 30

And the speedtest sensor comes from the SpeedTest.net integration.

Madelena commented 1 year ago

@itsboo07 I had made quite a few changes to this since the code was published, so I will need to publish the new code first before I can answer the question.

johanohly commented 1 year ago

@JohnnyJTH

Cloudflare uses the Ping sensor, and the code looks like this:

sensor:
- platform: ping
  entity_namespace: ping
  host: 1.1.1.1
  name: "Cloudflare"
  count: 3
  scan_interval: 30

And the speedtest sensor comes from the SpeedTest.net integration.

All right, thanks a lot! I love this layout so much...

platini76 commented 1 year ago

@itsboo07 I had made quite a few changes to this since the code was published, so I will need to publish the new code first before I can answer the question.

Hello Madalena thanks for your work it is fantastic.. when you publish the new code?