# How do I use my project (code) in Node RED?

**URL:** <https://discourse.nodered.org/t/how-do-i-use-my-project-code-in-node-red/63463>\
**Category:** General\
**Created:** [4 June 2022 19:23 UTC](https://discourse.nodered.org/t/how-do-i-use-my-project-code-in-node-red/63463 "2022-06-04T19:23:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![9toejack](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/9toejack/32/56868_2.png) [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Post date:** [7 June 2022 06:49 UTC](https://discourse.nodered.org/t/how-do-i-use-my-project-code-in-node-red/63463/6 "2022-06-07T06:49:09Z")

</div>

the switch node in that example I had set guidlines. in the switch node you may need to enter your parameters, how ever your are needing something with dates and times as well.

 ![switchnodeexampletoday](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/f/2ffcb82a729be424195f781bcc44f259ba8b1ec5.png)

also check this out for heating.

> **[node-red-contrib-ramp-thermostat](https://flows.nodered.org/node/node-red-contrib-ramp-thermostat)**
>
> A Node-RED node that emulates a programmable thermostat.

communication with a tasmota device is done with mqtt. Also if the status of the electricity is on a web page looking into html nodes and see if you can just have it queried in and convert data into the information you need.  
If you have a flow started and are stuck,  
share the flow with us so we can try to help you out.  
make sure you follow these guidelines when sharing a flow.

> [@How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506):
>
> To share code samples or flow json in this forum, you need to take care to format it properly so that it is displayed correctly. The easiest way to do that is to click the 'Preformatted Text' button in the toolbar: [image] Then paste in your code or flow json. You should end up with three back-tick characters - ``` - on their own line before and after the code. On standard US English keyboards, this is on the same key as the ~ character. Using the backticks will ens…

---

_[View the full topic](https://discourse.nodered.org/t/how-do-i-use-my-project-code-in-node-red/63463)._
