Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SomfyOneplusCamera (myfox:SomfyOnePlusCameraController) #221

Closed
PoVPoV29 opened this issue Aug 12, 2020 · 7 comments
Closed

Comments

@PoVPoV29
Copy link

PoVPoV29 commented Aug 12, 2020

2020-08-12 15:14:24 DEBUG (MainThread) [custom_components.tahoma] Unsupported TaHoma device detected (myfox:SomfyOnePlusCameraController - Camera - MyFoxSecurityCamera)

Device information
The equipement is a Somy One plus Camera ("plus" is because there is a batery inside)
Can you integrate it with :

  • photo/image support
    -on/off alarm (with status)
  • activate siren
  • detection status
  • power status

Device details

{
	"commands": [{
		"commandName": "close",
		"nparams": 0
	}, {
		"commandName": "getName",
		"nparams": 0
	}, {
		"commandName": "open",
		"nparams": 0
	}, {
		"commandName": "refreshDeviceStatus",
		"nparams": 0
	}, {
		"commandName": "setName",
		"nparams": 1
	}, {
		"commandName": "refreshShutterStatus",
		"nparams": 0
	}],
	"states": [{
		"values": ["offline", "online", "uninstalled"],
		"type": "DiscreteState",
		"qualifiedName": "core:CloudDeviceStatusState"
	}, {
		"type": "DataState",
		"qualifiedName": "core:NameState"
	}, {
		"values": ["down", "up"],
		"type": "DiscreteState",
		"qualifiedName": "core:PowerSupplyUpDownState"
	}, {
		"values": ["closed", "opened"],
		"type": "DiscreteState",
		"qualifiedName": "myfox:ShutterStatusState"
	}],
	"dataProperties": [],
	"widgetName": "MyFoxSecurityCamera",
	"uiClass": "Camera",
	"qualifiedName": "myfox:SomfyOnePlusCameraController",
	"type": "ACTUATOR"
}
@PoVPoV29
Copy link
Author

Maybe it's releated with :
2020-08-12 15:14:24 DEBUG (MainThread) [custom_components.tahoma] Unsupported TaHoma device detected (myfox:SomfyProtectAlarmController - Alarm - MyFoxAlarmController)
2020-08-12 15:14:24 DEBUG (MainThread) [custom_components.tahoma] Unsupported TaHoma device detected (rtds:RTDSRemoteControllerComponent - RemoteController - AlarmRemoteController)

I don't know the meening of these two lines.

@iMicknl
Copy link
Owner

iMicknl commented Aug 12, 2020

Thanks for the information. I am afraid that retrieving the live streams from the cameras will be hard, since it is not available in the commands that I added to your first post. How do you consume the camera streams? Is there a separate platform to log in, or can you access them via tahomalink.com?

Maybe it's releated with :
2020-08-12 15:14:24 DEBUG (MainThread) [custom_components.tahoma] Unsupported TaHoma device detected (myfox:SomfyProtectAlarmController - Alarm - MyFoxAlarmController)
2020-08-12 15:14:24 DEBUG (MainThread) [custom_components.tahoma] Unsupported TaHoma device detected (rtds:RTDSRemoteControllerComponent - RemoteController - AlarmRemoteController)

I don't know the meening of these two lines.

The alarm controller is the alarm controller component of your Somfy Protect system. We are already working on adding this to Home Assistant, which is tracked in #215. :-)

The Remote Controller is a device that I don't know. It doesn't have any commands, but it does offer information about some parts of the alarm system.

{
	"commands": [],
	"states": [{
		"type": "ContinuousState",
		"qualifiedName": "rtds:ControllerBatteryState"
	}, {
		"type": "ContinuousState",
		"qualifiedName": "rtds:ControllerBipState"
	}, {
		"type": "ContinuousState",
		"qualifiedName": "rtds:ControllerOrderTypeState"
	}, {
		"type": "ContinuousState",
		"qualifiedName": "rtds:ControllerOriginatorState"
	}, {
		"type": "ContinuousState",
		"qualifiedName": "rtds:ControllerSensingState"
	}, {
		"type": "ContinuousState",
		"qualifiedName": "rtds:ControllerSirenState"
	}],
	"dataProperties": [],
	"widgetName": "AlarmRemoteController",
	"uiClass": "RemoteController",
	"qualifiedName": "rtds:RTDSRemoteControllerComponent",
	"type": "REMOTE_CONTROLLER"
}

@PoVPoV29
Copy link
Author

PoVPoV29 commented Aug 12, 2020

Hello,
Thanks for the #215 !
Remote controller seems to be a part of the Somfy One Plus : I supose that because the Somfy one plus has a battery and a siren. it does a "bip" sound too when the alarm is turn on or off.)
And for information I can see the video stream from tahomalink.com but not the other sensors/detectors related with the security.

@iMicknl
Copy link
Owner

iMicknl commented Aug 12, 2020

I have implemented the open / close functionality of the cover of your camera in #224. Could you give it a try and let me know the result?

You can download the file below, unzip it and place the tahoma folder in your custom_components folder.

https://github.com/iMicknl/ha-tahoma/archive/enhancement/support_MyFoxSecurityCamera_camera_cover.zip

@PoVPoV29
Copy link
Author

Hello,
The cover is working fine thanks !
But Can I a merge from :
https://github.com/iMicknl/ha-tahoma/archive/enhancement/support_MyFoxSecurityCamera_camera_cover.zip
and
https://github.com/iMicknl/ha-tahoma/archive/enhancement/add_alarm_integration.zip
To have alarm cover and alarm arm working.
Thanks

@vlebourl
Copy link
Collaborator

Great to hear. You can always do whatever you want on your own directory or fork! We prefer to work on including features separately. But if this is working, it should be merged into master pretty soon.

@iMicknl
Copy link
Owner

iMicknl commented Aug 14, 2020

Added support for cover in latest master, will be published soon. Tracked the live stream issue in #226.

@iMicknl iMicknl closed this as completed Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants