getting the ROBB Smarrt Smartplug Z-wave 3680Watt to work

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
akamming
Posts: 359
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

getting the ROBB Smarrt Smartplug Z-wave 3680Watt to work

Post by akamming »

I bought the Robb Smarrt smartplug (because i needed 16A powerplug which can do energy measurement and I don't like the NEO Coolcam alternative), which can be found here: https://www.robbshop.nl/en/tussenstekke ... obb-smarrt

Unfortunately the device was nog recognized by OpenZwave. I spent some time on it and fortunately i managed to get it to work by creating my own openzwave config. I was happily surprised by the feature of the plug. Not only does it have a normal relay function and energy measurement. It also has a built in temperature sensor and can act as a thermostat. combined with the ability to go to 16A makes this a very interesting device.

Hopefully it will be added to the OpenZwave database in the near future, but If anyone else would already like to try: Here's the workaround how to make it work till it's added to the OpenZwave DB:

1. Add the following lines to

Code: Select all

  <Manufacturer id="0330" name="Robb Shop"> <!-- new manufacturer id for Neo Coolcam -->
    <Product config="robb/smartplug.xml" id="d004" name="ROB_100-017-0 Robb Smarrt Power plug 3680Watt" type="0200"/>
  </Manufacturer>

2. Create a directory "robb" under domoticz/Config (so it will be domoticz/Config/robb)
3. in that direcotry create a file names smartplug.xml with the following contents:

Code: Select all

<Product Revision="1" xmlns="https://github.com/OpenZWave/open-zwave">
	<!-- Please refer to https://github.com/OpenZWave/open-zwave/wiki/Adding-Devices for instructions -->
	<MetaData>
		<MetaDataItem name="Name">ROBB Smarrt Wallplug Z-Wave 3680watt</MetaDataItem>
		<MetaDataItem name="Description">https://www.robbshop.nl/en/detail/522f5f563f694f00872bd7f17a7fb082</MetaDataItem>
		<MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/XXXX:YYYY:ZZZZ</MetaDataItem>
		<MetaDataItem name="ProductPage">https://www.robbshop.nl/en/detail/522f5f563f694f00872bd7f17a7fb082</MetaDataItem>
		<MetaDataItem name="ProductSupport">https://www.robbshop.nl/en/detail/522f5f563f694f00872bd7f17a7fb082</MetaDataItem>
		<MetaDataItem name="ProductPic"><!-- path to images/vendor/product.png --></MetaDataItem>
		<MetaDataItem name="ProductManual"><!-- URL to the product manual. - Prefer to use something hosted on the products.z-wavealliance.org pages --></MetaDataItem>
		<MetaDataItem name="WakeupDescription">Hit the button 3 times</MetaDataItem>
		<MetaDataItem name="InclusionDescription">Press the include button on your controller and hit the button 3 times</MetaDataItem>
		<MetaDataItem name="ExclusionDescription">Press the include button on your controller and hit the button 3 times</MetaDataItem>
		<MetaDataItem name="ResetDescription"><!-- Short Description on how to Factory Reset the Device --></MetaDataItem>
		<ChangeLog>
			<Entry author="akamming" date="27 May 2021" revision="1">1st attempt</Entry>
		</ChangeLog>
	</MetaData>
	<!-- Configuration Command Class - All Configuration Parameters should be entered into the section below -->
	<CommandClass id="112">

		<Value genre="config" index="7" label="Device Operating Mode" max="1" min="0" size="1" type="list" value="0">
			<Help>Switch Mode enables to control relay output directly using basic or binary set, Thermostat Mode will control the relay output automatically according to the temperature value set</Help>
			<Item label="Switch Mode" value="0"/>
			<Item label="Thermostat Mode" value="1"/>
		</Value>

		<Value genre="config" index="8" label="Reporting" max="1" min="0" size="1" type="list" value="0">
			<Help>When configured as thermostat: if Thermostat Setpoint or mode changes, whether to report it actively</Help>
			<Item label="No Reporting" value="0"/>
			<Item label="Report Actively" value="1"/>
		</Value>

		<Value genre="config" index="9" label="Temperature Compensation" max="50" min="-50" type="byte" units="0.1Celsius" value="0">
			<Help>
				Temperature Compensation Value
			</Help>
		</Value>

		<Value genre="config" index="10" label="Temperature protection" max="60" min="0" type="byte" units="1 Celsius" value="36">
			<Help>
				Temperature Protection Value. 0: Disable Temperature protection, 30-60: Set a treshold. If this treshold is reached, the relay is switched off
			</Help>
		</Value>

		<Value genre="config" index="11" label="Temperature Reporting Treshold" max="50" min="2" type="byte" units="0.1 Celsius" value="5">
			<Help>
				When to report changed value to gateway. 0: Disable report. 2-50: Set a treshold
			</Help>
		</Value>

		<Value genre="config" index="12" label="Time Interval Temperature Report" max="65536" min="10" type="short" units="Seconds" value="300">
			<Help>
				Set Time Interval for reporting Temperature to  gateway.
			</Help>
		</Value>

		<Value genre="config" index="13" label="Power Reporting Treshold" max="255" min="1" type="byte" units="W" value="2">
			<Help>
				When to report changed value to gateway. 0: Disable report.  1-255: Absolute treshold
			</Help>
		</Value>

		<Value genre="config" index="14" label="Voltage Reporting Treshold" max="255" min="1" type="byte" units="V" value="2">
			<Help>
				When to report changed value to gateway. 0: Disable report.  1-255: Absolute treshold
			</Help>
		</Value>

		<Value genre="config" index="15" label="Current Reporting Treshold" max="255" min="1" type="byte" units="0.1A" value="1">
			<Help>
				When to report changed value to gateway. 0: Disable report.  1-255: Absolute treshold
			</Help>
		</Value>

		<Value genre="config" index="17" label="Time Interval Voltage Report" max="65536" min="10" type="short" units="Seconds" value="300">
			<Help>
				Set Time Interval for reporting Voltage to gateway.
			</Help>
		</Value>

		<Value genre="config" index="18" label="Device State After Power Reset" max="2" min="0" size="1" type="list" value="2">
			<Help>Device State After Power Reset.</Help>
			<Item label="Relay (Switch Mode) or HVAC (Thermostat Mode) Off" value="0"/>
			<Item label="Relay (Switch Mode) or HVAC (Thermostat Mode) On" value="1"/>
			<Item label="Last State before Power Reset" value="1"/>
		</Value>

		<Value genre="config" index="19" label="Lifeline behaviour" max="2" min="0" size="1" type="list" value="1">
			<Help>Enable/Disable to send SWITCH_BINARY_REPORT to the Lifeline when the plug (under switch mode) state changes, reset power of the plug and factory reset the plug.</Help>
			<Item label="Disable to Send" value="0"/>
			<Item label="Enable to Send" value="1"/>
		</Value>

		<Value genre="config" index="20" label="Current Protection Treshold" max="16" min="0" type="byte" units="A" value="16">
			<Help>
				Enable/Disable current protection function. 0=disable, 10-16 is set a Treshold in A
			</Help>
		</Value>

	</CommandClass>
	<!-- The Association Group Information -->
	<CommandClass id="133">
		<Associations num_groups="1">
			<Group index="1" label="LifeLine" max_associations="5"/>
		</Associations>
	</CommandClass>
</Product>
4. Restart Domoticz
5. Include the device like you would normally do

Last but not least: The manufactur_specific.xml file will be overwritten at every domoticz upgrade. So as long as the device is not in the OpenZWave Database, you have to reapply the change from step 1 if you want to do a device refresh or device inclusion after a domoticz upgrade.
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: getting the ROBB Smarrt Smartplug Z-wave 3680Watt to work

Post by kiddigital »

You should ask the vendor (Robb, or whoever makes them for Robb) to submit a pull request to the OpenZWave repo to include these config files.

(Or you could do it for them, but better if the vendor does this for future updates, etc.)
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
Ron
Posts: 82
Joined: Friday 27 December 2013 23:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2284
Location: Nederland, Den Bosch
Contact:

Re: getting the ROBB Smarrt Smartplug Z-wave 3680Watt to work

Post by Ron »

You should look at the specifications & manual on the website, in this case it only shows: werkt met Homey

So, you can conclude ik only works with Homey, but if you are not familiar with this website is is not quit as easy to see as usual.
In the former website it was more obvious.

Image
Attachments
Knipsel.JPG
Knipsel.JPG (17.85 KiB) Viewed 1003 times
akamming
Posts: 359
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: getting the ROBB Smarrt Smartplug Z-wave 3680Watt to work

Post by akamming »

kiddigital wrote: Thursday 27 May 2021 10:11 You should ask the vendor (Robb, or whoever makes them for Robb) to submit a pull request to the OpenZWave repo to include these config files.

(Or you could do it for them, but better if the vendor does this for future updates, etc.)
Totally agree. That's one of the reasons i made this post: So i could refer to i t in my email to robbshop (which i sent right after making this post) ;-)
akamming
Posts: 359
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: getting the ROBB Smarrt Smartplug Z-wave 3680Watt to work

Post by akamming »

Ron wrote: Thursday 27 May 2021 12:07 You should look at the specifications & manual on the website, in this case it only shows: werkt met Homey
I did. and if you look at the reviews also on the same page you can see people tried and found out it works other HA software packages. Domoticz is not one of them so that's why i decided to try...
WilcoEHV
Posts: 7
Joined: Monday 02 January 2023 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Eindhoven
Contact:

Re: getting the ROBB Smarrt Smartplug Z-wave 3680Watt to work

Post by WilcoEHV »

Hi akamming,
Thx for this post, I ordered 2 of these plugs last week and experienced the same problem.
Your post is quite usefull.

At 1 you say "add the following line to".
Where is this line to go?

(I'm a 5+ years user of Domoticz but not familiar with programming, some guidance is welcome!, I managed to do the rest of the instructions)

Thx in advance!

Wilco
Raspberry 3B with Raspberry PI OS
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest