I don’t know why both are there. It just works!
In the definition of the extension in the GUI I have “None” in Media Encryption.
Hi again I have a few more questions regarding this
exten => 1003,1,System(curl http://IP_HASS:1880/endpoint/wakeup_webrtc)
exten => 1003,n,Wait(3)
exten => 1003,n,RetryDial(wait.wav,1,10,PJSIP/1004)
exten => 1003,n,Hangup()
Where do I set up dial plans? and is it inbound or outbound
and
does this need to be a public IP?
http://IP_HASS:1880/endpoint/wakeup_webrtc
and
I need to connect do different HA’s do I need to create 2 extensions for each HA
Thanks in Advance
It is in extensions_override_freepbx.conf
and this is run when ext. 1003 is called. But, putting it that way in the file is enough.
IP_HASS is the IP address of HA (in fact where NodeRed is) that you PBX can talk to. In most cases the local IP will do.
thank I have made those changes now, do I need to do anything to activate the changes to that file?
also, have any views on this? each ha will have its own extension, so the intercom can call it (same building but different flats)
That, I don’t know exactly. I would imagine calling a hunt group from the GDS. Configure the group on asterisk with two extensions. Both similar to 1004. Then each flat would connect using its own extension.
But, I never done exactly that.
i had another question come off off the back of this, where do i copy the files from doordroid, i copied them here \\homeassistant.local\config\www\doordroid
and feel like it’s not the right place also where does this file come from Lovelace-browser-commander/browser-commander.js?v=0.0.1
i can’t see this in any of the files
It should be where the other additional lovelace related stuff are.
So, in my case it is in \homeassistant.local\config\www\plugins which it “translated” to:
- url: /local/plugins/jssip-3.3.6.min.js
type: js
- url: /local/plugins/doordroid-card.js?v=0.1.14.12
type: module
in my resources.yaml file.
And for this setup, no need for browser-commander stuff.
Hi
finally got done to working on this again, and now not sure what I’ve done wrong getting the following error
No card type configured
title: Surveillance
icon: 'mdi:bell'
panel: true
path: gds
cards:
- camera_entity: camera.gds
style: |
ha-card {
display: block;
margin-left: auto;
margin-right: auto;
width: 88%;
}
sip_settings:
sip_password: secret
sip_server: mypbx.co.uk
sip_username: '1003'
sip_wss_url: 'wss://mypbx.co.uk:8089/ws'
type: 'custom:doordroid-card'
title: DoorDroid
thanks in advance
Out of my comfort zone here…
I see two options:
- indentation wrong. And yaml is very picky about this
- the doordroid-card.js file not properly installed of configured in resources
These are the usual suspects when you have this kind of message.
i think its the doordroid-card location in the resources, I just can’t seem to put in the right location, and understand where it is
the installation instructions say /local/doordroid mines sitting in the config/www folder, I thought that would class as local, but it doesn’t seem to
I used the GUI to configure resources under configuration --> lovelace dashboards -->resources
i would like to put into a resource yaml file but not sure how to create resources.yaml
what have you put as your resources, my folder is located in the same place config/www/doordroid
resources:
- type: js
url: /doordroid/jssip-3.3.6.min.js
- type: module
url: /doordroid/doordroid-card.js?v=0.0.1
is that the same as you have ?
many thanks
I think you need to put Local infron of the URL
I’ve tried with and without local, still not working
Are there any installation steps I could missed
1, downloaded and extracted files in to config/www/doordroid
2, added resources to lovelace
3, added card details to lovelace
I don’t think so. What error are you getting?
Custom element doesn’t exist: doordroid-card
It all looks OK to me.
I also found that https://github.com/tommyjlong/doorvivint-card works really well.
I actually have both cards running currently. It might be a good test to install this one.
In my case:
1, downloaded and extracted files in to config/www/plugins
2, added resources to lovelace (while replacing www with local)
3, added card details to lovelace
resources.yaml:
- url: /local/plugins/jssip-3.3.6.min.js
type: js
- url: /local/plugins/doordroid-card.js?v=0.1.14.12
type: module
Since I did it the GUI for editing the resources .yaml has been introduced. I suppose the “trick” with www replaced by local remains valid.