Vibe Coding

I have been using Gemini and Grok for help with CSS on some new dashboards. That's worked pretty well and I have been able to do things that would have taken me a long time, if ever, to figure out.

Today I asked Gemini a few preliminary questions concerning calculating the rate of rainfall per hour based on the time between pulses of my rain gauge. I then fed the following into Gemini:

Let's create a groovy app that allows me to select the contact sensor, enter the amount of rainfall per pulse, ability to set the duration of the time out mechanism and the ability to set the duration of the watchdog timer

And it created code that ran perfectly. I then asked it to allow me to select a Virtual Omni Sensor and to put the rate per hour value into this sensor for display on a dashboard. It took two passes because it messed up the capabilities of the Omni sensor.

It took a total of three iterations of code and about 20 minutes to get the final version. I tested with a virtual contact sensor and it looks like it's working correctly. Kind of impressed....

4 Likes

Some people call that the “advanced” version :grinning_face:

2 Likes