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 motion sensor #4

Closed
ghosmar opened this issue Dec 11, 2013 · 8 comments
Closed

Add support for motion sensor #4

ghosmar opened this issue Dec 11, 2013 · 8 comments

Comments

@ghosmar
Copy link

ghosmar commented Dec 11, 2013

Can you add support for motion sensors?

 [undef_undef_79] => Array
        (
            [raw_value1] => Off
            [address] => 79
            [name] => Beweging
            [battery_level] => 255
            [signal_level] => 6
            [raw] => Array
                (
                    [AddjMulti] => 1
                    [AddjMulti2] => 1
                    [AddjValue] => 0
                    [AddjValue2] => 0
                    [BatteryLevel] => 255
                    [CustomImage] => 0
                    [Data] => Off
                    [Favorite] => 0
                    [HardwareID] => 4
                    [HardwareName] => RFXCOM
                    [HaveDimmer] => 1
                    [HaveGroupCmd] => 1
                    [ID] => 09EB5FE
                    [Image] => Light
                    [IsSubDevice] => 
                    [LastUpdate] => 2013-12-11 21:44:19
                    [Level] => 0
                    [LevelInt] => 0
                    [MaxDimLevel] => 16
                    [Name] => Beweging
                    [Notifications] => false
                    [SignalLevel] => 6
                    [Status] => Off
                    [SubType] => AC
                    [SwitchType] => Motion Sensor
                    [SwitchTypeVal] => 8
                    [Timers] => false
                    [Type] => Lighting 2
                    [TypeImg] => motion
                    [Unit] => 10
                    [Used] => 1
                    [UsedByCamera] => 
                    [idx] => 79
                )

            [class] => undef
            [type] => undef
            [uid] => undef_undef_79
            [img_type] => undef
        )
@soif
Copy link
Contributor

soif commented Dec 11, 2013

added in develop, please report if it work correctly: does status shows Correctly (on / off) when ther is motion (you need to refresh the page, it's not live)

@ghosmar
Copy link
Author

ghosmar commented Dec 12, 2013

The motion sensor are still undefined

@soif
Copy link
Contributor

soif commented Dec 12, 2013

fixed in @7851357684ed840f1484f2089c898571618262ef
Please Report, if now, defined? State appears correctly depending on the motion?

@ghosmar
Copy link
Author

ghosmar commented Dec 12, 2013

Now it is defined but the icon is missing. See below why ...
Also the state is not shown

motion

@soif
Copy link
Contributor

soif commented Dec 13, 2013

@ de9f034 Bothe state show correctly ? Off On?

@ghosmar
Copy link
Author

ghosmar commented Dec 13, 2013

Icon is now present and state is shown

@ghosmar ghosmar closed this as completed Dec 13, 2013
@soif
Copy link
Contributor

soif commented Dec 13, 2013

Please confirm state is accurately shown : Off when no Motion, On when motion?

@ghosmar
Copy link
Author

ghosmar commented Dec 19, 2013

Yes, state is correctly shown.

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

2 participants