Closed NetCom-Hymer closed 5 months ago
Pin 18 is used for psram.
Hi,
i have used only the Display oft he nspanel and i have connect a truma heater.
I use it to control the heater in the mobile home remotely. uart:
Von: Edward Firmo @.> Gesendet: Freitag, 7. Juni 2024 05:37 An: Blackymas/NSPanel_HA_Blueprint @.> Cc: Stefan Neufuss @.>; Mention @.> Betreff: Re: [Blackymas/NSPanel_HA_Blueprint] Update nspanel_esphome_core.yaml (PR #2139)
Hey @NetCom-Hymerhttps://github.com/NetCom-Hymer, could you please explain why you wanna change this pin number?
— Reply to this email directly, view it on GitHubhttps://github.com/Blackymas/NSPanel_HA_Blueprint/pull/2139#issuecomment-2153787364, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A46WA2XEUIO2OTKOUYP3W3LZGETELAVCNFSM6AAAAABI532YIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTG44DOMZWGQ. You are receiving this because you were mentioned.Message ID: @.**@.>>
Nice. But this should be as a customization on your system, not part of the main repo.
You probably can just add this to your panel's yaml as a customization to free-up that GPIO:
switch:
- id: !extend relay_1
platform: template
pin: !remove
optimistic: true
internal: true
This will make that relay virtual and free-up it's GPIO.
I will reject this, as it isn't to be part of the general implementation, but please feel free to continue the conversation as I will be happy to help.
Hi Edward,
many thx that you have supported me 😊
I have only one question where i stuck.
When i put the following into the Customization area i get the error:
Too many candidates found for id
type uart::UARTComponent
Some are tf_uart
, lin_uart_bus
.
# Customization area
##### My customization - Start #####
external_components:
- source: github://Fabian-Schmidt/esphome-truma_inetbox
components: ["truma_inetbox"]
uart:
- id: lin_uart_bus
tx_pin: 22
rx_pin: 23
baud_rate: 9600
data_bits: 8
parity: NONE
stop_bits: 2
truma_inetbox:
uart_id: lin_uart_bus
binary_sensor:
- platform: truma_inetbox
name: "CP Plus alive"
type: CP_PLUS_CONNECTED
climate:
- platform: truma_inetbox
name: "Room"
type: ROOM
#######################################################################################################################################
switch:
- id: !extend relay_1
platform: template
pin: !remove
optimistic: true
#internal: true
##### My customization - End #####
Can you please assist what i have to do.
Best regards Stefan
I've copy/paste your yaml to my panel, with no changes, and could successfully compile with ESPHome 2024.8.3. Do you have anything else in your yaml which could be breaking this?
Hi Edward, it comes when i add
Without i can compile.
So i am happy and i can continue – thx
Best greets to sweden Stefan Von: Stefan Neufuss
Ok, I can duplicate the issue with the advanced package and will come with a fix for the next release.
Solved in dev
.
Hey @NetCom-Hymer, could you please explain why you wanna change this pin number?