If you are just starting your smarthome, here are some suggestions


I wanted to create this topic because when I first started this journey, I have made so many mistakes that cost me time, money and more importantly caused frustration.

If I had seen a post like this after my first decision to start a smart home, I would have moved forward differently.
These are ONLY based on MY experience. And for noobs only :)))
Please share if you agree/disagree or want to add your own warnings:)
I will keep updating this post as more things come to mind.

ps : I know this post might have been better in ST community forum but sorry I truly don’t like to post anything there. That forum feels like youtube comments section:))))

- Don’t make the mistake I did. Buying stuff for the WHOLE HOUSE.
Just design a single room. Work on it. Make mistakes and learn from it. See what sensor works the best, where is your hub functions better, where you put your sensors to get the result you want. I bought everything in one go for 4000sqf house and boy oh boy what a big mistake it was.

- Buy everything as a single unit first. Test it. If it works buy more.
I bought in bulk because I was so excited about it. Some of them still remains unopened in their boxes because they don’t work well with OTHER stuff I bought and since I bought everything almost the same day, by the time I got a chance to test them, return dates were past.
Recently I wanted to buy humidity sensors for de-humidifiers i have. Just bought one, tested it. After I saw it worked well with ST hub etc. I bought 4 more. Better way to go.

- Please research-read and understand well what Zwave and Zigbee signals are. What repeaters are. Where the best place your hub(s) would be.
I learned way later what they are and how they work and it cost me lost of extra money, not properly working units etc.

- Be aware if you are using webcore with St app or any other app for automation.
I had some St app automations and later I forgot about them. Started writing pistons. They were not working properly and spent weeks to figure out what went wrong. Same lights were controlled by pistons AND St app automations:))))

- Write down everything you do almost daily. Guys, it’s time for diarys:)))
I mean it:))) At some point my hub started going off line every day for no reason. I had to turn off and turn on manually. I went insane. Finally @WCmore stepped in and figured out that two of the device handlers i had was causing the problem. He had asked what I had done recently and I had no answer because I was just doing stuff without taking any notes.

- When you are posting for piston help section, here in WebCore, not only ask your question about your piston BUT explain what it is that you want to accomplish.
Countless of times I thought something could be done this way, but someone just said, hey how about doing it this way, and 99% of the time that way was better. So explain what you want, “I want walk into my room and I want this, that and the other to happen”
maybe your first draft piston is not the best way to go there.

- If a piston is not working as intended.
Go back to basics. Make sure that your devices are working first.
If your complicated idea is failing, create a simulated switch lets say and test each device first.

- Read Webcore wiki and read lots of example pistons.
They are well written and will help you a lot.

To be continued…


Excellent post, Ike… Thanks for sharing!!

If I may add a couple of tidbit to your list…

- When creating pistons, start with simple code, and test before ‘complexifying’ it.
This is especially important if you are working with an unfamiliar device or Device Handler. Ady implemented a lot of code for us to work with, but not every command will work with every device or handler.

- Log to console is your friend
When your piston grows in complexity, with multiple conditions and IF statements, it is real handy to scatter a few “Log to consoles” in your code to see what block of code is running. Yes, there is a built-in log, but that can be overwhelming to new users. By adding your own Logs (set to a different color) it makes troubleshooting much easier.
(Plus, you can Log current variables/temperatures/etc as well)

I am sure I will think of more to add to this, but I need to run to an appointment now.


What does Log to console actually do?


It logs a line of information to the console found directly beneath the piston.

Here are the available colors, for reference:


Xmas 2017 I gave an Echo Dot to my wife’s best friend and her hubby after they had commented on how awesome my smart home was and how they would love to have something like it.

Months later, they had not yet taken it out of the box. He said “I’m going to wait until I get everything before I start setting it up”.

I had to talk to him and tell him to start slow, with just that dot.
To this day, that is all they have. Think they’ve managed to get it to do grocery lists to their phones.


Can you give some examples of Logging variables? This will help with capturing info for the $twcweather. Thanks


Never mind… I figured it out! Thank you!


For others who may find this thread later, here is a quick example: