how to show last alert message in node-red? right now it shows me only number…
ID: 5eee9457fbf5913af035adcb: 104
2020-06-20 22:57: Stop button pushed
ID: 5eee0d2b63c534daa50a9cb3: 1004
2020-06-20 13:20: Not in database!
ID: 5eee060afbf5913af035400e: 115
2020-06-20 12:50: Mower is stuck
@jm_73 after installinnig 3.1 i see this error in ha log
2020-06-28 13:04:00 ERROR (MainThread) [pyIndego.indego_async_client] Get gave a unhandled error: Cannot connect to host api.indego.iot.bosch-si.com:443 ssl:None [Connection reset by peer]
what is this?
jm_73
June 28, 2020, 1:16pm
163
Sometimes the api gives an timeout. The kntegration continues to work anyway and tries to update later on. If you have many errors like that and the sensors dont update with new values, please send me a debug logfile.
/J
jm_73
June 28, 2020, 1:17pm
164
Regarding alerts:
Create a template sensor in HA to filter out the properties you want to have. I personally havent done anything in nodered.
Changes are comming in the alert sensor. The plan is to show each alert as an own property pn the alert sensor.
adamj3000
(Adam)
September 10, 2020, 7:20am
165
Hi all,
Can anybody help with HTTP call? I just want to switch on/off (Start lawn mower/Return to dock)
Thank you in advance,
jm_73
September 18, 2020, 3:00pm
166
Hello!
You have to understand the concept of starting a session and to use session ID. You cannot just send a http request to get this working. See the API desciption and the code in the pypi package pyIndego if you want to learn how to use python to create a session and be able to communicate with the mower. Or better, start using the Bosch Indego Integration for HA!
1 Like
easiest thing is to manually add the version number in the manifest.json file.
jesperB
(Jesper)
August 19, 2021, 1:09pm
172
I get this : t.setConfig is not a function
uiguy
August 19, 2021, 2:04pm
173
Hi, Here is my code which works, I can’t remember how much has changed since my original post…
cards:
- elements:
- entity: sensor.indego_last_completed
style:
font-size: 15px
left: 5%
top: 10%
transform: none
prefix: ' Last Completed : '
type: state-label
- entity: sensor.indego_lawn_mowed
style:
font-size: 15px
left: 5%
top: 25%
transform: none
suffix: ' Complete'
type: state-label
- entity: sensor.indego_battery_percentage
prefix: 'Battery : '
style:
font-size: 15px
left: 5%
top: 82%
transform: none
type: state-label
- entity: sensor.indego_next_mow
prefix: 'Next Cut : '
style:
font-size: 15px
left: 5%
top: 40%
transform: none
type: state-label
- entity: sensor.indego_mowing_mode
prefix: 'Mode : '
style:
font-size: 15px
left: 5%
top: 68%
transform: none
type: state-label
- entity: input_boolean.indego_mow
icon: mdi:play
style:
'--iron-icon-fill-color': '#FFFFFF'
'--iron-icon-height': 40px
'--iron-icon-width': 40px
left: 65%
top: 5%
transform: none
tap_action:
action: call-service
service: indego.command
service_data:
command: mow
title: Mow
type: icon
- entity: input_boolean.indego_pause
icon: mdi:pause
style:
'--iron-icon-fill-color': '#FFFFFF'
'--iron-icon-height': 40px
'--iron-icon-width': 40px
left: 75%
top: 5%
transform: none
tap_action:
action: call-service
service: indego.command
service_data:
command: pause
title: Pause
type: icon
- entity: input_boolean.indego_home
icon: mdi:home
style:
'--iron-icon-fill-color': '#FFFFFF'
'--iron-icon-height': 40px
'--iron-icon-width': 40px
left: 85%
top: 5%
transform: none
tap_action:
action: call-service
service: indego.command
service_data:
command: returnToDock
title: Home
type: icon
- entity: sensor.indego_mower_state
prefix: 'State : '
style:
font-size: 15px
left: 65%
top: 25%
transform: none
type: state-label
- entity: sensor.indego_mower_state_detail
style:
font-size: 15px
left: 65%
top: 35%
transform: none
type: state-label
image: /local/img/larry.png
type: picture-elements
- aspect_ratio: 50%
elements:
- entity: sensor.indego_runtime_total
prefix: 'Total Runtime : '
style:
color: '#000000'
font-size: 15px
left: 10%
top: 5%
transform: none
type: state-label
- entity: binary_sensor.indego_alert
prefix: 'Alerts : '
style:
color: '#000000'
font-size: 15px
left: 10%
top: 15%
transform: none
type: state-label
- entity: sensor.indego_last_session_charging
prefix: 'Last Sesion Charging : '
style:
color: '#000000'
font-size: 15px
left: 10%
top: 25%
transform: none
type: state-label
- entity: sensor.indego_last_session_cutting
prefix: 'Last Sesion Cutting : '
style:
color: '#000000'
font-size: 15px
left: 10%
top: 35%
transform: none
type: state-label
- entity: sensor.indego_last_session_total
prefix: 'Last Sesion Total : '
style:
color: '#000000'
font-size: 15px
left: 10%
top: 45%
transform: none
type: state-label
- entity: sensor.indego_total_charging
prefix: 'Total Charging : '
style:
color: '#000000'
font-size: 15px
left: 10%
top: 55%
transform: none
type: state-label
- entity: sensor.indego_total_mowing
prefix: 'Total Mowing : '
style:
color: '#000000'
font-size: 15px
left: 10%
top: 65%
transform: none
type: state-label
image: /local/img/garden_map.png
type: picture-elements
parameters:
centeredSlides: true
keyboard:
enabled: true
onlyInViewport: true
navigation: null
pagination:
type: none
slidesPerView: auto
spaceBetween: 8
type: custom:swipe-card
only other thing I can say is:
Make sure that your mower is connected and you are getting the data
Make sure you load the dependencies for the card to work
I have not seen that error before nor am sure where you are seeing it…
jesperB
(Jesper)
August 19, 2021, 2:21pm
174
Directly in HA lovelace editor for the manual card entry. if I enter your code directly. I have downloaded swipe-card.js and put it in www/custom-lovelace/swipe-card and entered in configuration
uiguy
August 19, 2021, 2:26pm
175
do you have an image available and configured the path?
jesperB
(Jesper)
August 19, 2021, 2:27pm
176
uiguy:
image: /local/img/garden_map.png where is that… I downloaded larry.png and changed the path to /www/larry.png
uiguy
August 19, 2021, 2:34pm
177
The map is a screengrab I did from my phone and then saved it to my www folder
1 Like
uiguy
August 19, 2021, 2:36pm
178
uiguy:
/local/img/larry.png
Also, www is not recognised as a path in Home Assistant… you need to use “local”
So a folder called img in my www folder would be /local/img/larry.png
jesperB
(Jesper)
August 19, 2021, 2:39pm
179
pasted your code. Something must have happend. I cannot get the bottons to work with the indego.command - that does not exist… ?
looks like this now
uiguy
August 19, 2021, 2:45pm
180
check your logs and see… often if the mower is stuck or stopped by something… like a butterfly flapping it’s wings in Australia (Sorry read previous love/hate relationship with Larry who falls over at the blink of an eye) the integration will not work as there is an alert on the mowever which will need your manual pin on the mower to get going again…
I live in a country where everyone leaves their front doors wide open… the PIN code thing does my head in!
Also, try and run the commands from Developer tools
1 Like
uiguy
August 19, 2021, 2:50pm
181
oh, also I see that you use “Smart Mowing”… the best time of day to mow your lawn is between like 06:30 and like 10:30…
I would manually configure either a schedule in HA (and disable your schedule all together on the mower) or manually configure a schedule on the mower…
This way, I can be sure not to mow during or just after my pop-up sprinklers have run… it is not great to cut your lawn when the grass is wet, as the blades slide off the grass, and you get an uneven cut…
1 Like
jesperB
(Jesper)
August 19, 2021, 2:51pm
182
GOT it! - It had moved so changed the code to
left: 15%
top: 5%
still missing to format the date and times
But I like what you have done!!
uiguy
August 19, 2021, 2:53pm
183
yea, I can’t remember now if I did template sensors for things like Last Complted or if this is now baked into the integration…
Either or, it can be formatted correctly… but to be honest, HA has changed so much since I did this like 3 years ago, I have not bothered updating it…
1 Like