Fibaro FGMS-001 not working correctly

I’m using the Aeon Labs Z-Stick Gen5 with HA running inside a Docker container.

Sebastian

Did you ever get this figured out? I’m having the same issue - the sensor shows up in openzwave, but nothing at all in HA at the moment.

Unfortunately I never got it working, does your sensor show up with product information (like fibaro) or just a generic sensor?

I added my sensor to HA by issuing the add device command directly in HA (under services - zwave - add node) but since its not recognized properly the sensor shows up in the HA dashboard but no data is ever collected.

No, mine doesn’t show up at all in HA - not even as a generic sensor. I added it in openzwave so I could use the “add secure node” feature. Openzwave is reading everything correctly, but it isn’t communicated to HA at all. Hopefully there will be a future update that gets HA on the same page with the new Fibaro firmware.

Did you check that the zwave options.xml is the same for both, hass and ozwcp?
If you added the sensor securely and the network keys do not match, you won’t be able to see it.

Sebastian

I have this sensor working in HASS for some time.

did you check out this:

I believe so. I have the same network key in options.xml in both “/srv/hass/src/python-openzwave/openzwave/config” and “/srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config”

I didn’t see that one, but I seem to have the same setup as described in that thread, and I’m not still getting anything. I saw the suggestion to switch to binary reporting from basic, but I don’t see any option for that in OZWCP.

The Fibaro doesn’t have the option to switch to binary reporting.
What kind of controller are you using? As I wrote earlier, I’m using the Aeon Labs G5 ZStick which worked out of the box.
Maybe someone with the same combo as you might weigh in.

Sebastian

I think (but can’t check) that you need to add as non-secure device. I have tried secure for devices that support it but never had success with that.

If added non secure there is a field for reporting in OZWCP for that device under configuration. This needs to be set to basic.

I’m using the Aeon Labs G5 ZStick too

On a sidenote I am using the zwave.me UZB stick, not the AEON Labs stick.

cpc1027 what does the sensor look like in open-zwave web interface?

By any chance did you buy this sensor in the past 2 months or so?

Then it should definitely work. Maybe try including the sensor via the ZStick’s button.
If that doesn’t work, try a factory reset with the stick and the sensor as well.
The sensor can be added non-securely and securely - I tried both methods and both work.
Re-adding the sensor one way or the other increases the device number, though, so you’d need to update all the references in your hass config.

Sebastian

Yes, I bought it last week (I’m just getting started with HA). Here’s a screenshot of some of the OZWCP. If there is something specific that you wanted to see, let me know and I’ll get it in the frame. Right now, I have the manufacturer.xml files for both openzwave and hass pointed to the updated fibaro configuration xml file posted in the other thread, but neither the update or the original seem to have made a difference.

This also looks good. Basic command class is set to Basic. So that is not it.

I ran into this problem the first time I tried to include the sensor and thought I screwed something up, so I factory reset everything and tried again, which is where I am now. I can’t say for sure that I tried all of the same steps the first time, but I’ve been trying every potential solution that I can find since the reset.

I was poking around the zwcfg_*****.xml file that seems to be generated by HA, and I noticed that the information for “node 2” (my fibaro sensor) is considerably shorter than my lightbulb. I don’t really have any idea what this means, but it seems like a more complex sensor like the fibaro would have much more information associated with it. Does this spark any ideas about what might be going on (note that I still don’t have a sensor listing for this in HA’s state listing)? This is what is I have for node 2:

</Node>
<Node id="2" name="" location="" basic="4" generic="7" specific="1" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Dynamic">
	<Manufacturer id="0" name="">
		<Product type="0" id="0" name="" />
	</Manufacturer>
	<CommandClasses>
		<CommandClass id="32" name="COMMAND_CLASS_BASIC" version="1">
			<Instance index="1" />
			<Value type="byte" genre="basic" instance="1" index="0" label="Basic" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
		</CommandClass>
		<CommandClass id="132" name="COMMAND_CLASS_WAKE_UP" version="1" request_flags="2">
			<Instance index="1" />
			<Value type="int" genre="system" instance="1" index="0" label="Wake-up Interval" units="Seconds" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="3600" />
		</CommandClass>
	</CommandClasses>

That looks realy incomplete. Not sure what the parameter means, but that query_stage="Dynamic" looks suspicious to me.
For my sensor it says query_stage="Complete". I also have roletype="6" devicetype="3079" nodetype="0" attributes that seem to be missing for your sensor.

Maybe deleting the file will trigger a “rescan” by hass? - Just a wild guess…

Here’s the first lines from my sensor:

        <Node id="8" name="" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3079" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" secured="true" query_stage="Complete">
                <Manufacturer id="10f" name="FIBARO System">
                        <Product type="801" id="1001" name="FGMS001 Motion Sensor" />
                </Manufacturer>

Sebastian

I think you’re right. I just looked at the openzwave log and it doesn’t look quite right there either, even though the OZWCP looks fine. As soon as I have time, I guess I’ll factory reset the thing again and try to re-add it to the network.

Is there something that I could have messed up with the secure node? I uncommented the network key line and replaced the default key with my own in the config files in both “/srv/hass/src/python-openzwave/openzwave/config” and “/srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config”. Then I used the “add secure node” function in the OZWCP to add the Fibaro sensor. Anything I missed there? Is there a way to add a secure node with the button on the z-wave stick? I didn’t see anything in the manual…

I did it the same way. Set a key and re-added the device securely using ozwcp.
I’m not sure that it’s possible via the zstick’s button since (I think) the stick does not know anything about the network key you set in your config file.

Sebastian