Help with Netdata sensors?

Tying to figure out how to read netdata sensors in HA. I have a few items working but can not get anything with a name that starts with “sensor” in netdata to work.
What I’m trying to get is my server CPU cord temperatures.
Here is my setup that does not work. The marked in blue does not work:

image

The netdata api:

image

Do you can fixed???..I have the same problem.

Yes I did. I was using the wrong sensor name. Try something like this:

core0_temperature_1:

        data_group: sensors.coretemp-isa-0001_temperature

        element: coretemp-isa-0001_temp2

And for the voltage, you know how it is???..Thanks a lot

I have this on my configuration.

> - platform: netdata
> 
>     host: 'localhost'
> 
>     port: '19999'
> 
>     name: SomeHostName
> 
>     resources:
> 
>       system:
> 
>         data_group: system.cpu
> 
>         element: system
> 
>       system.ram:
> 
>         data_group: system.ram
> 
>         element: used
> 
>       system.swap:
> 
>         data_group: system.swap
> 
>         element: used
> 
>       core0_temperature_1:
> 
>         data_group: sensors.coretemp_isa_0000_temperature
> 
>         element: coretemp-isa-0000_temp2

and this is the Json for my netdata system

> "sensors.BAT0-acpi-0_voltage": {
> 		"name":"sensors.BAT0_acpi_0_voltage",
> 		"family":"voltage",
> 		"context":"sensors.voltage",
> 		"units":"Volts",
> 		"last_updated": 1590091455,
> 		"dimensions": {
> 			"BAT0-acpi-0_in0": {
> 				"name": "in0",
> 				"value": 12.1870000
> 			}
> 		}
> 	},
> 	"sensors.acpitz-acpi-0_temperature": {
> 		"name":"sensors.acpitz_acpi_0_temperature",
> 		"family":"temperature",
> 		"context":"sensors.temperature",
> 		"units":"Celsius",
> 		"last_updated": 1590091455,
> 		"dimensions": {
> 			"acpitz-acpi-0_temp1": {
> 				"name": "temp1",
> 				"value": 55.0000000
> 			},
> 			"acpitz-acpi-0_temp2": {
> 				"name": "temp2",
> 				"value": 55.0000000
> 			}
> 		}
> 	},
> 	"sensors.coretemp-isa-0000_temperature": {
> 		"name":"sensors.coretemp_isa_0000_temperature",
> 		"family":"temperature",
> 		"context":"sensors.temperature",
> 		"units":"Celsius",
> 		"last_updated": 1590091455,
> 		"dimensions": {
> 			"coretemp-isa-0000_temp2": {
> 				"name": "Core 0",
> 				"value": 57.0000000
> 			},
> 			"coretemp-isa-0000_temp3": {
> 				"name": "Core 1",
> 				"value": 58.0000000
> 			}
> 		}

When I put like you tell me i can´t see the sensor on home assistant…can you help me with this??..

I want temperature and voltage…regards and I´m sorry for the code format…

Sure no problem.
Should be like this for battery voltage.

  BAT0-acpi-0_voltage:
    data_group: sensors.BAT0-acpi-0_voltage
    element: BAT0-acpi-0_in0

Temperature like this.

  acpitz-acpi-0_temperature:
    data_group: sensors.acpitz_acpi_0_temperature
    element: acpitz-acpi-0_temp1

The first line can be what ever you want. It is the name that shows in Home Assistant.
Second line “data_group”. Copy that from where it says “name” in the api.
Third line “element”. Copy from where it says “dimensions” in the api.

The next thing is if you have more then one core temperature is to group them in a min/max sensor. let me know if you get the above working and would like see all core temperatures in one min/max sensor.

Hope this helps. Cheers

1 Like