Dynamic Electricity Prices
The day_ahead_prices module allows configuration and reading of dynamic electricity prices.
Not supported on this hardware!
day_ahead_prices/config
The dynamic electricity prices configuration.
# $HOST e.g. warp2-AbCd
Read
curl http://$HOST/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
curl http://$HOST/day_ahead_prices/config -d '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
With MQTT on $PREFIX/day_ahead_prices/config_update
mosquitto_pub -h $BROKER -t $PREFIX/day_ahead_prices/config_update -m '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
| Name | Description |
|---|---|
enablebool | Indicates whether dynamic electricity prices should be used. When enabled, prices are retrieved once per day for the next 24 hours from an external server. Internet access is required to use dynamic electricity prices. |
api_urlstring | Endpoint URL of the dynamic electricity prices server. |
regionint | Region of the dynamic electricity prices
|
resolutionint | Time resolution of the dynamic electricity prices.
|
cert_idint | ID of the CA certificate used to verify the certificate of the electricity price server. See |
vatint (%/100) | VAT rate applied to the electricity exchange price. |
grid_costs_and_taxesint (ct/kWh/1000) | Grid fees and taxes (gross if VAT rate is specified). |
supplier_markupint (ct/kWh/1000) | Electricity supplier price markup (gross if VAT rate is specified). |
supplier_base_feeint (ct/M) | Electricity supplier base fee |
day_ahead_prices/state
The state of the dynamic electricity prices.
| Name | Description |
|---|---|
last_syncint | A Unix timestamp in minutes indicating when the electricity exchange prices were last updated. |
last_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices were last queried. |
next_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices will be queried next. |
current_priceint (ct/kWh/1000) | The current electricity exchange price. |
day_ahead_prices/prices
The dynamic electricity prices.
{
"first_date": 28897860,
"resolution": 1,
"prices": [
11594, 10822, 10731, 10617, 10869, 12531, 16341, 29550,
36897, 37712, 34864, 37999, 38587, 40491, 37196, 38094,
43787, 44508, 35992, 34125, 20682, 17120, 15000, 13596,
12224, 11530, 10996, 10735, 11251, 12367, 17618, 59999,
65560, 64676, 54383, 46536, 40499, 41530, 49034, 66849,
81898, 93628, 67418, 55101, 29566, 16940, 15000, 13475
]
}
| Name | Description |
|---|---|
first_dateint | A Unix timestamp in minutes indicating the time for which the first price in the |
resolutionint | Time resolution of the dynamic electricity prices in the
|
pricesint[200] (ct/kWh/1000) | Array of dynamic electricity prices for up to two days. The first element of the array is for the time |
day_ahead_prices/config
The dynamic electricity prices configuration.
# $HOST e.g. warp3-AbCd
Read
curl http://$HOST/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
curl http://$HOST/day_ahead_prices/config -d '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp3/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
With MQTT on $PREFIX/day_ahead_prices/config_update
mosquitto_pub -h $BROKER -t $PREFIX/day_ahead_prices/config_update -m '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
| Name | Description |
|---|---|
enablebool | Indicates whether dynamic electricity prices should be used. When enabled, prices are retrieved once per day for the next 24 hours from an external server. Internet access is required to use dynamic electricity prices. |
api_urlstring | Endpoint URL of the dynamic electricity prices server. |
regionint | Region of the dynamic electricity prices
|
resolutionint | Time resolution of the dynamic electricity prices.
|
cert_idint | ID of the CA certificate used to verify the certificate of the electricity price server. See |
vatint (%/100) | VAT rate applied to the electricity exchange price. |
grid_costs_and_taxesint (ct/kWh/1000) | Grid fees and taxes (gross if VAT rate is specified). |
supplier_markupint (ct/kWh/1000) | Electricity supplier price markup (gross if VAT rate is specified). |
supplier_base_feeint (ct/M) | Electricity supplier base fee |
day_ahead_prices/state
The state of the dynamic electricity prices.
| Name | Description |
|---|---|
last_syncint | A Unix timestamp in minutes indicating when the electricity exchange prices were last updated. |
last_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices were last queried. |
next_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices will be queried next. |
current_priceint (ct/kWh/1000) | The current electricity exchange price. |
day_ahead_prices/prices
The dynamic electricity prices.
{
"first_date": 28897860,
"resolution": 1,
"prices": [
11594, 10822, 10731, 10617, 10869, 12531, 16341, 29550,
36897, 37712, 34864, 37999, 38587, 40491, 37196, 38094,
43787, 44508, 35992, 34125, 20682, 17120, 15000, 13596,
12224, 11530, 10996, 10735, 11251, 12367, 17618, 59999,
65560, 64676, 54383, 46536, 40499, 41530, 49034, 66849,
81898, 93628, 67418, 55101, 29566, 16940, 15000, 13475
]
}
| Name | Description |
|---|---|
first_dateint | A Unix timestamp in minutes indicating the time for which the first price in the |
resolutionint | Time resolution of the dynamic electricity prices in the
|
pricesint[200] (ct/kWh/1000) | Array of dynamic electricity prices for up to two days. The first element of the array is for the time |
day_ahead_prices/config
The dynamic electricity prices configuration.
# $HOST e.g. wem-AbCd
Read
curl http://$HOST/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
curl http://$HOST/day_ahead_prices/config -d '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. wem/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
With MQTT on $PREFIX/day_ahead_prices/config_update
mosquitto_pub -h $BROKER -t $PREFIX/day_ahead_prices/config_update -m '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
| Name | Description |
|---|---|
enablebool | Indicates whether dynamic electricity prices should be used. When enabled, prices are retrieved once per day for the next 24 hours from an external server. Internet access is required to use dynamic electricity prices. |
api_urlstring | Endpoint URL of the dynamic electricity prices server. |
regionint | Region of the dynamic electricity prices
|
resolutionint | Time resolution of the dynamic electricity prices.
|
cert_idint | ID of the CA certificate used to verify the certificate of the electricity price server. See |
vatint (%/100) | VAT rate applied to the electricity exchange price. |
grid_costs_and_taxesint (ct/kWh/1000) | Grid fees and taxes (gross if VAT rate is specified). |
supplier_markupint (ct/kWh/1000) | Electricity supplier price markup (gross if VAT rate is specified). |
supplier_base_feeint (ct/M) | Electricity supplier base fee |
day_ahead_prices/state
The state of the dynamic electricity prices.
| Name | Description |
|---|---|
last_syncint | A Unix timestamp in minutes indicating when the electricity exchange prices were last updated. |
last_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices were last queried. |
next_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices will be queried next. |
current_priceint (ct/kWh/1000) | The current electricity exchange price. |
day_ahead_prices/prices
The dynamic electricity prices.
{
"first_date": 28897860,
"resolution": 1,
"prices": [
11594, 10822, 10731, 10617, 10869, 12531, 16341, 29550,
36897, 37712, 34864, 37999, 38587, 40491, 37196, 38094,
43787, 44508, 35992, 34125, 20682, 17120, 15000, 13596,
12224, 11530, 10996, 10735, 11251, 12367, 17618, 59999,
65560, 64676, 54383, 46536, 40499, 41530, 49034, 66849,
81898, 93628, 67418, 55101, 29566, 16940, 15000, 13475
]
}
| Name | Description |
|---|---|
first_dateint | A Unix timestamp in minutes indicating the time for which the first price in the |
resolutionint | Time resolution of the dynamic electricity prices in the
|
pricesint[200] (ct/kWh/1000) | Array of dynamic electricity prices for up to two days. The first element of the array is for the time |
day_ahead_prices/config
The dynamic electricity prices configuration.
# $HOST e.g. wem2-AbCd
Read
curl http://$HOST/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
curl http://$HOST/day_ahead_prices/config -d '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. wem2/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
With MQTT on $PREFIX/day_ahead_prices/config_update
mosquitto_pub -h $BROKER -t $PREFIX/day_ahead_prices/config_update -m '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
| Name | Description |
|---|---|
enablebool | Indicates whether dynamic electricity prices should be used. When enabled, prices are retrieved once per day for the next 24 hours from an external server. Internet access is required to use dynamic electricity prices. |
api_urlstring | Endpoint URL of the dynamic electricity prices server. |
regionint | Region of the dynamic electricity prices
|
resolutionint | Time resolution of the dynamic electricity prices.
|
cert_idint | ID of the CA certificate used to verify the certificate of the electricity price server. See |
vatint (%/100) | VAT rate applied to the electricity exchange price. |
grid_costs_and_taxesint (ct/kWh/1000) | Grid fees and taxes (gross if VAT rate is specified). |
supplier_markupint (ct/kWh/1000) | Electricity supplier price markup (gross if VAT rate is specified). |
supplier_base_feeint (ct/M) | Electricity supplier base fee |
day_ahead_prices/state
The state of the dynamic electricity prices.
| Name | Description |
|---|---|
last_syncint | A Unix timestamp in minutes indicating when the electricity exchange prices were last updated. |
last_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices were last queried. |
next_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices will be queried next. |
current_priceint (ct/kWh/1000) | The current electricity exchange price. |
day_ahead_prices/prices
The dynamic electricity prices.
{
"first_date": 28897860,
"resolution": 1,
"prices": [
11594, 10822, 10731, 10617, 10869, 12531, 16341, 29550,
36897, 37712, 34864, 37999, 38587, 40491, 37196, 38094,
43787, 44508, 35992, 34125, 20682, 17120, 15000, 13596,
12224, 11530, 10996, 10735, 11251, 12367, 17618, 59999,
65560, 64676, 54383, 46536, 40499, 41530, 49034, 66849,
81898, 93628, 67418, 55101, 29566, 16940, 15000, 13475
]
}
| Name | Description |
|---|---|
first_dateint | A Unix timestamp in minutes indicating the time for which the first price in the |
resolutionint | Time resolution of the dynamic electricity prices in the
|
pricesint[200] (ct/kWh/1000) | Array of dynamic electricity prices for up to two days. The first element of the array is for the time |
day_ahead_prices/config
The dynamic electricity prices configuration.
# $HOST e.g. warp-AbCd
Read
curl http://$HOST/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
curl http://$HOST/day_ahead_prices/config -d '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
# $BROKER e.g. my_mosquitto.localdomain
# $PREFIX e.g. warp/AbCd
Read
mosquitto_sub -v -C 1 -h $BROKER -t $PREFIX/day_ahead_prices/config
{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}
Write
With MQTT on $PREFIX/day_ahead_prices/config_update
mosquitto_pub -h $BROKER -t $PREFIX/day_ahead_prices/config_update -m '{
"enable": true,
"api_url": "https://api.warp-charger.com/",
"region": 0,
"resolution": 1,
"cert_id": -1,
"vat": 1900,
"grid_costs_and_taxes": 18783,
"supplier_markup": 0,
"supplier_base_fee": 1564
}'
| Name | Description |
|---|---|
enablebool | Indicates whether dynamic electricity prices should be used. When enabled, prices are retrieved once per day for the next 24 hours from an external server. Internet access is required to use dynamic electricity prices. |
api_urlstring | Endpoint URL of the dynamic electricity prices server. |
regionint | Region of the dynamic electricity prices
|
resolutionint | Time resolution of the dynamic electricity prices.
|
cert_idint | ID of the CA certificate used to verify the certificate of the electricity price server. See |
vatint (%/100) | VAT rate applied to the electricity exchange price. |
grid_costs_and_taxesint (ct/kWh/1000) | Grid fees and taxes (gross if VAT rate is specified). |
supplier_markupint (ct/kWh/1000) | Electricity supplier price markup (gross if VAT rate is specified). |
supplier_base_feeint (ct/M) | Electricity supplier base fee |
day_ahead_prices/state
The state of the dynamic electricity prices.
| Name | Description |
|---|---|
last_syncint | A Unix timestamp in minutes indicating when the electricity exchange prices were last updated. |
last_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices were last queried. |
next_checkint | A Unix timestamp in minutes indicating when the electricity exchange prices will be queried next. |
current_priceint (ct/kWh/1000) | The current electricity exchange price. |
day_ahead_prices/prices
The dynamic electricity prices.
{
"first_date": 28897860,
"resolution": 1,
"prices": [
11594, 10822, 10731, 10617, 10869, 12531, 16341, 29550,
36897, 37712, 34864, 37999, 38587, 40491, 37196, 38094,
43787, 44508, 35992, 34125, 20682, 17120, 15000, 13596,
12224, 11530, 10996, 10735, 11251, 12367, 17618, 59999,
65560, 64676, 54383, 46536, 40499, 41530, 49034, 66849,
81898, 93628, 67418, 55101, 29566, 16940, 15000, 13475
]
}
| Name | Description |
|---|---|
first_dateint | A Unix timestamp in minutes indicating the time for which the first price in the |
resolutionint | Time resolution of the dynamic electricity prices in the
|
pricesint[200] (ct/kWh/1000) | Array of dynamic electricity prices for up to two days. The first element of the array is for the time |